> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List connection types

> List OAuth connection types supported by the Markifact API.

Returns the connection types that can be used when creating an auth link.

## Endpoint

```http theme={"dark"}
GET /v1/connections/types
```

## Example Request

```bash theme={"dark"}
curl https://api.markifact.com/v1/connections/types \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Response

```json theme={"dark"}
[
  {
    "type": "ga4",
    "name": "Google Analytics 4"
  },
  {
    "type": "gads",
    "name": "Google Ads"
  },
  {
    "type": "meta_ads",
    "name": "Meta Ads"
  }
]
```

## Fields

| Field  | Type   | Description                                                       |
| ------ | ------ | ----------------------------------------------------------------- |
| `type` | string | The value to use as `connection_type` when creating an auth link. |
| `name` | string | Human-readable connection type name.                              |


## OpenAPI

````yaml GET /v1/connections/types
openapi: 3.1.0
info:
  title: Markifact API
  version: 1.0.0
  description: API for managing Markifact workspace connections.
servers:
  - url: https://api.markifact.com
security:
  - bearerAuth: []
paths:
  /v1/connections/types:
    get:
      tags:
        - Connections
      summary: List connection types
      description: List OAuth connection types supported by the Markifact API.
      operationId: listConnectionTypes
      responses:
        '200':
          description: Connection types returned.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ConnectionType'
components:
  schemas:
    ConnectionType:
      type: object
      properties:
        type:
          type: string
        name:
          type: string
      required:
        - type
        - name
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````