Composio Connected Accounts API

Connected account management

Operations 12

GET /api/v3/connected_accounts List connected accounts with optional filters #
POST /api/v3/connected_accounts Create a new connected account #
GET /api/v3/connected_accounts/{nanoid} Get connected account details by ID #
DELETE /api/v3/connected_accounts/{nanoid} Delete a connected account #
PATCH /api/v3/connected_accounts/{nanoid} Update a connected account #
PATCH /api/v3/connected_accounts/{nanoId}/status Enable or disable a connected account #
POST /api/v3/connected_accounts/{nanoid}/refresh Refresh authentication for a connected account #
GET /connectedAccounts Composio List connected accounts #
POST /connectedAccounts Composio Create a connected account #
GET /connectedAccounts/{connectedAccountId} Composio Get a connected account #
DELETE /connectedAccounts/{connectedAccountId} Composio Delete a connected account #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/composio-connected-accounts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

composio-connected-accounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Composio Connected Accounts API
  version: '1.0'
  description: 'Operations tagged Connected Accounts across 2 of this provider''s published API definitions: composio-openapi-original.json, composio-openapi-original.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://backend.composio.dev
  description: PRODUCTION API
- url: https://backend.composio.dev/api/v3
  description: Production Server
tags:
- name: Connected Accounts
  description: Connected account management
paths:
  /api/v3/connected_accounts:
    get:
      summary: List connected accounts with optional filters
      description: Retrieves all connected accounts for your project. Connected accounts represent authenticated user connections to external services (e.g., a user's Gmail account, Slack workspace). Filter by toolkit, status, user ID, or auth config to find specific connections.
      tags:
      - Connected Accounts
      operationId: getConnectedAccounts
      security:
      - ApiKeyAuth: []
      - UserApiKeyAuth: []
      - CookieAuth: []
      parameters:
      - schema:
          type:
          - array
          - 'null'
          items:
            type: string
          description: The toolkit slugs of the connected accounts
        required: false
        description: The toolkit slugs of the connected accounts
        name: toolkit_slugs
        in: query
      - schema:
          type:
          - array
          - 'null'
          items:
            type: string
            enum:
            - INITIALIZING
            - INITIATED
            - ACTIVE
            - FAILED
            - EXPIRED
            - INACTIVE
            - REVOKED
          description: The status of the connected account
        required: false
        description: The status of the connected account
        name: statuses
        in: query
      - schema:
          type:
          - string
          - 'null'
          description: The cursor to paginate through the connected accounts
        required: false
        description: The cursor to paginate through the connected accounts
        name: cursor
        in: query
      - schema:
          type:
          - number
          - 'null'
          description: The limit of the connected accounts to return
        required: false
        description: The limit of the connected accounts to return
        name: limit
        in: query
      - schema:
          type:
          - array
          - 'null'
          items:
            type: string
          description: The user ids of the connected accounts
        required: false
        description: The user ids of the connected accounts
        name: user_ids
        in: query
      - schema:
          type:
          - array
          - 'null'
          items:
            type: string
            format: authConfigId
          description: The auth config ids of the connected accounts
        required: false
        description: The auth config ids of the connected accounts
        name: auth_config_ids
        in: query
      - schema:
          type:
          - array
          - 'null'
          items:
            type: string
            format: connectedAccountId
          description: The connected account ids to filter by
        required: false
        description: The connected account ids to filter by
        name: connected_account_ids
        in: query
      - schema:
          type: string
          enum:
          - created_at
          - updated_at
          default: created_at
          description: The order by of the connected accounts
        required: false
        description: The order by of the connected accounts
        name: order_by
        in: query
      - schema:
          type: string
          enum:
          - asc
          - desc
          default: desc
          description: The order direction of the connected accounts
        required: false
        description: The order direction of the connected accounts
        name: order_direction
        in: query
      - schema:
          type: string
          enum:
          - PRIVATE
          - SHARED
          - ALL
          description: '[Experimental] Filter by sharing model. Default (omitted) returns PRIVATE only — shared accounts must be requested explicitly. Pass SHARED for only shared accounts, or ALL for PRIVATE + SHARED.'
          x-experimental: true
        required: false
        description: '[Experimental] Filter by sharing model. Default (omitted) returns PRIVATE only — shared accounts must be requested explicitly. Pass SHARED for only shared accounts, or ALL for PRIVATE + SHARED.'
        name: account_type
        in: query
      responses:
        '200':
          description: Successfully retrieved connected accounts
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      type: object
                      properties:
                        toolkit:
                          type: object
                          properties:
                            slug:
                              type: string
                              description: The slug of the toolkit
                          required:
                          - slug
                        auth_config:
                          type: object
                          properties:
                            id:
                              type: string
                              format: authConfigId
                              description: The id of the auth config
                            auth_scheme:
                              type: string
                              enum:
                              - OAUTH2
                              - OAUTH1
                              - API_KEY
                              - BASIC
                              - BILLCOM_AUTH
                              - BEARER_TOKEN
                              - GOOGLE_SERVICE_ACCOUNT
                              - NO_AUTH
                              - BASIC_WITH_JWT
                              - CALCOM_AUTH
                              - SERVICE_ACCOUNT
                              - SAML
                              - DCR_OAUTH
                              - S2S_OAUTH2
                              description: the authScheme is part of the connection state use it there
                              deprecated: true
                            is_composio_managed:
                              type: boolean
                              description: Whether the auth config is managed by Composio
                            is_disabled:
                              type: boolean
                              description: Whether the auth config is disabled
                            deprecated:
                              type: object
                              properties:
                                uuid:
                                  type: string
                                  format: uuid
                                  description: The uuid of the auth config
                              required:
                              - uuid
                              deprecated: true
                          required:
                          - id
                          - auth_scheme
                          - is_composio_managed
                          - is_disabled
                        id:
                          type: string
                          format: connectedAccountId
                          description: The id of the connection
                        word_id:
                          type:
                          - string
                          - 'null'
                          description: A short, token-friendly identifier for multi-account disambiguation, typically toolkit-prefixed with 1-2 words (e.g., "gmail_red-castle")
                        alias:
                          type:
                          - string
                          - 'null'
                          description: A user-defined alias for the connected account
                        user_id:
                          type: string
                          description: This is deprecated, we will not be providing userId from this api anymore, you will only be able to read via userId not get it back
                          deprecated: true
                        status:
                          type: string
                          enum:
                          - INITIALIZING
                          - INITIATED
                          - ACTIVE
                          - FAILED
                          - EXPIRED
                          - INACTIVE
                          - REVOKED
                          description: The status of the connection
                        experimental:
                          type: object
                          properties:
                            account_type:
                              type: string
                              enum:
                              - PRIVATE
                              - SHARED
                              description: Sharing model for this connected account. PRIVATE is usable only by the owning user_id. SHARED is reachable from a tool-router session only when explicitly pinned in the session config.
                              x-experimental: true
                            acl_config_for_shared:
                              type: object
                              properties:
                                allow_all_users:
                                  type: boolean
                                allowed_user_ids:
                                  type: array
                                  items:
                                    type: string
                                not_allowed_user_ids:
                                  type: array
                                  items:
                                    type: string
                              required:
                              - allow_all_users
                              - allowed_user_ids
                              - not_allowed_user_ids
                              description: Access control for SHARED connections. Visible only to the connection creator and project/org API key callers; non-creator cookie callers receive the response without this block.
                              x-experimental: true
                          required:
                          - account_type
                          description: Experimental features - not stable, may be modified or removed in future versions.
                          x-experimental: true
                        created_at:
                          type: string
                          description: The created at of the connection
                        updated_at:
                          type: string
                          description: The updated at of the connection
                        state:
                          oneOf:
                          - type: object
                            properties:
                              authScheme:
                                type: string
                                enum:
                                - OAUTH1
                              val:
                                oneOf:
                                - type: object
                                  properties:
                                    subdomain:
                                      type: string
                                    your-domain:
                                      type: string
                                    region:
                                      type: string
                                    shop:
                                      type: string
                                    account_url:
                                      type: string
                                    COMPANYDOMAIN:
                                      type: string
                                    extension:
                                      type: string
                                    form_api_base_url:
                                      type: string
                                    instanceEndpoint:
                                      type: string
                                    api_url:
                                      type: string
                                    borneo_dashboard_url:
                                      type: string
                                    proxy_username:
                                      type: string
                                    proxy_password:
                                      type: string
                                    domain:
                                      type: string
                                    version:
                                      type: string
                                    dc:
                                      type: string
                                    site_name:
                                      type: string
                                    instanceName:
                                      type: string
                                    account_id:
                                      type: string
                                    your_server:
                                      type: string
                                    server_location:
                                      type: string
                                    base_url:
                                      type: string
                                    status:
                                      type: string
                                      enum:
                                      - INITIALIZING
                                  required:
                                  - status
                                  additionalProperties: {}
                                - type: object
                                  properties:
                                    subdomain:
                                      type: string
                                    your-domain:
                                      type: string
                                    region:
                                      type: string
                                    shop:
                                      type: string
                                    account_url:
                                      type: string
                                    COMPANYDOMAIN:
                                      type: string
                                    extension:
                                      type: string
                                    form_api_base_url:
                                      type: string
                                    instanceEndpoint:
                                      type: string
                                    api_url:
                                      type: string
                                    borneo_dashboard_url:
                                      type: string
                                    proxy_username:
                                      type: string
                                    proxy_password:
                                      type: string
                                    domain:
                                      type: string
                                    version:
                                      type: string
                                    dc:
                                      type: string
                                    site_name:
                                      type: string
                                    instanceName:
                                      type: string
                                    account_id:
                                      type: string
                                    your_server:
                                      type: string
                                    server_location:
                                      type: string
                                    base_url:
                                      type: string
                                    status:
                                      type: string
                                      enum:
                                      - INITIATED
                                    oauth_token:
                                      type: string
                                    authUri:
                                      type: string
                                    oauth_token_secret:
                                      type: string
                                    redirectUrl:
                                      type: string
                                    callbackUrl:
                                      type: string
                                  required:
                                  - status
                                  - oauth_token
                                  - authUri
                                  - oauth_token_secret
                                  - redirectUrl
                                  additionalProperties: {}
                                - type: object
                                  properties:
                                    subdomain:
                                      type: string
                                    your-domain:
                                      type: string
                                    region:
                                      type: string
                                    shop:
                                      type: string
                                    account_url:
                                      type: string
                                    COMPANYDOMAIN:
                                      type: string
                                    extension:
                                      type: string
                                    form_api_base_url:
                                      type: string
                                    instanceEndpoint:
                                      type: string
                                    api_url:
                                      type: string
                                    borneo_dashboard_url:
                                      type: string
                                    proxy_username:
                                      type: string
                                    proxy_password:
                                      type: string
                                    domain:
                                      type: string
                                    version:
                                      type: string
                                    dc:
                                      type: string
                                    site_name:
                                      type: string
                                    instanceName:
                                      type: string
                                    account_id:
                                      type: string
                                    your_server:
                                      type: string
                                    server_location:
                                      type: string
                                    base_url:
                                      type: string
                                    status:
                                      type: string
                                      enum:
                                      - ACTIVE
                                    oauth_token:
                                      type: string
                                    oauth_token_secret:
                                      type: string
                                    oauth_verifier:
                                      type: string
                                    consumer_key:
                                      type: string
                                    redirectUrl:
                                      type: string
                                    callback_url:
                                      type: string
                                  required:
                                  - status
                                  - oauth_token
                                  - oauth_token_secret
                                  additionalProperties: {}
                                - type: object
                                  properties:
                                    subdomain:
                                      type: string
                                    your-domain:
                                      type: string
                                    region:
                                      type: string
                                    shop:
                                      type: string
                                    account_url:
                                      type: string
                                    COMPANYDOMAIN:
                                      type: string
                                    extension:
                                      type: string
                                    form_api_base_url:
                                      type: string
                                    instanceEndpoint:
                                      type: string
                                    api_url:
                                      type: string
                                    borneo_dashboard_url:
                                      type: string
                                    proxy_username:
                                      type: string
                                    proxy_password:
                                      type: string
                                    domain:
                                      type: string
                                    version:
                                      type: string
                                    dc:
                                      type: string
                                    site_name:
                                      type: string
                                    instanceName:
                                      type: string
                                    account_id:
                                      type: string
                                    your_server:
                                      type: string
                                    server_location:
                                      type: string
                                    base_url:
                                      type: string
                                    status:
                                      type: string
                                      enum:
                                      - FAILED
                                    error:
                                      type: string
                                    error_description:
                                      type: string
                                  required:
                                  - status
                                  additionalProperties: {}
                                - type: object
                                  properties:
                                    subdomain:
                                      type: string
                                    your-domain:
                                      type: string
                                    region:
                                      type: string
                                    shop:
                                      type: string
                                    account_url:
                                      type: string
                                    COMPANYDOMAIN:
                                      type: string
                                    extension:
                                      type: string
                                    form_api_base_url:
                                      type: string
                                    instanceEndpoint:
                                      type: string
                                    api_url:
                                      type: string
                                    borneo_dashboard_url:
                                      type: string
                                    proxy_username:
                                      type: string
                                    proxy_password:
                                      type: string
                                    domain:
                                      type: string
                                    version:
                                      type: string
                                    dc:
                                      type: string
                                    site_name:
                                      type: string
                                    instanceName:
                                      type: string
                                    account_id:
                                      type: string
                                    your_server:
                                      type: string
                                    server_location:
                                      type: string
                                    base_url:
                                      type: string
                                    status:
                                      type: string
                                      enum:
                                      - EXPIRED
                                    expired_at:
                                      type: string
                                  required:
                                  - status
                                  additionalProperties: {}
                                - type: object
                                  properties:
                                    subdomain:
                                      type: string
                                    your-domain:
                                      type: string
                                    region:
                                      type: string
                                    shop:
                                      type: string
                                    account_url:
                                      type: string
                                    COMPANYDOMAIN:
                                      type: string
                                    extension:
                                      type: string
                                    form_api_base_url:
                                      type: string
                                    instanceEndpoint:
                                      type: string
                                    api_url:
                                      type: string
                                    borneo_dashboard_url:
                                      type: string
                                    proxy_username:
                                      type: string
                                    proxy_password:
                                      type: string
                                    domain:
                                      type: string
                                    version:
                                      type: string
                                    dc:
                                      type: string
                                    site_name:
                                      type: string
                                    instanceName:
                                      type: string
                                    account_id:
                                      type: string
                                    your_server:
                                      type: string
                                    server_location:
                                      type: string
                                    base_url:
                                      type: string
                                    status:
                                      type: string
                                      enum:
                                      - INACTIVE
                                    oauth_token:
                                      type: string
                                    oauth_token_secret:
                                      type: string
                                    oauth_verifier:
                                      type: string
                                    consumer_key:
                                      type: string
                                    redirectUrl:
                                      type: string
                                    callback_url:
                                      type: string
                                  required:
                                  - status
                                  - oauth_token
                                  - oauth_token_secret
                                  additionalProperties: {}
                            required:
                            - authScheme
                            - val
                          - type: object
                            properties:
                              authScheme:
                                type: string
                                enum:
                                - OAUTH2
                              val:
                                oneOf:
                                - type: object
                                  properties:
                                    subdomain:
                                      type: string
                                    your-domain:
                                      type: string
                                    region:
                                      type: string
                                    shop:
                                      type: string
                                    account_url:
                                      type: string
                                    COMPANYDOMAIN:
                                      type: string
                                    extension:
                                      type: string
                                    form_api_base_url:
                                      type: string
                                    instanceEndpoint:
                                      type: string
                                    api_url:
                                      type: string
                                    borneo_dashboard_url:
                                      type: string
                                    proxy_username:
                                      type: string
                                    proxy_password:
                                      type: string
                                    domain:
                                      type: string
                                    version:
                                      type: string
                                    dc:
                                      type: string
                                    site_name:
                                      type: string
                                    instanceName:
                                      type: string
                                    account_id:
                                      type: string
                                    your_server:
                                      type: string
                                    server_location:
                                      type: string
                                    base_url:
                                      type: string
                                    status:
                                      type: string
                                      enum:
                                      - INITIALIZING
                                    state_prefix:
                                      

# --- truncated at 32 KB (1035 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/composio/refs/heads/main/openapi/composio-connected-accounts-api-openapi.yml