ThunderPhone Provider Connections API

The provider-connections API from ThunderPhone — 8 operation(s) for provider-connections.

GitHub OpenAPI

Operations 11

GET /v1/provider-connections Provider connections list #
GET /v1/provider-connections/{connection_id} Provider connections retrieve #
PATCH /v1/provider-connections/{connection_id} Provider connections partial update #
DELETE /v1/provider-connections/{connection_id} Provider connections delete #
POST /v1/provider-connections/{connection_id}/test Provider connections test #
POST /v1/provider-connections/{connection_id}/sheets/picker-token Provider connections sheets picker token #
POST /v1/provider-connections/{connection_id}/sheets/inspect Provider connections sheets inspect #
POST /v1/provider-connections/{connection_id}/sheets/configure Provider connections sheets configure #
PUT /v1/provider-connections/{connection_id}/agents/{agent_id} Provider connections agents update #
DELETE /v1/provider-connections/{connection_id}/agents/{agent_id} Provider connections agents delete #
POST /v1/provider-connections/{provider}/api-key Provider connections api key #

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/thunderphone-com:thunderphone-com-provider-connections-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

thunderphone-com-provider-connections-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ThunderPhone Provider Connections API
  version: 1.0.0
  description: Programmatic access to the ThunderPhone platform — agents, phone numbers, calls, billing, webhooks, and more. See https://thunderphone.com/docs and https://thunderphone.com/developers for the reference, tutorials and migration guides.
  contact:
    name: ThunderPhone support
    url: https://thunderphone.com/docs
servers:
- url: https://api.thunderphone.com
  description: Production
tags:
- name: provider-connections
paths:
  /v1/provider-connections:
    get:
      operationId: provider_connections_list
      description: Retrieve provider connections. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      tags:
      - provider-connections
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProviderConnections'
          description: ''
      summary: Provider connections list
      x-summary-source: derived
  /v1/provider-connections/{connection_id}:
    get:
      operationId: provider_connections_retrieve
      description: Retrieve provider connections. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      parameters:
      - in: path
        name: connection_id
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - provider-connections
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProviderConnection'
          description: ''
      summary: Provider connections retrieve
      x-summary-source: derived
    patch:
      operationId: provider_connections_partial_update
      description: Update provider connections. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      parameters:
      - in: path
        name: connection_id
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - provider-connections
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedProviderOperationsRequest'
        required: true
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProviderConnection'
          description: ''
      summary: Provider connections partial update
      x-summary-source: derived
    delete:
      operationId: provider_connections_delete
      description: Delete provider connections. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      parameters:
      - in: path
        name: connection_id
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - provider-connections
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '204':
          description: No response body
      summary: Provider connections delete
      x-summary-source: derived
  /v1/provider-connections/{connection_id}/test:
    post:
      operationId: provider_connections_test
      description: 'The Test button: one read-only request with the connection''s sign-in, refreshing it if due.'
      parameters:
      - in: path
        name: connection_id
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - provider-connections
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProviderConnectionTest'
          description: ''
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
      summary: Provider connections test
      x-summary-source: derived
  /v1/provider-connections/{connection_id}/sheets/picker-token:
    post:
      operationId: provider_connections_sheets_picker_token
      description: Hands the browser the connection's own access token for the Google Picker. Under `drive.file` the server has no grant on a spreadsheet until the user picks it, and the grant is recorded against the credential that ran the Picker session. Minting the token from this connection — rather than a separate browser-side token client — guarantees the picked-file grant lands on the very refresh token the tool executor later uses, instead of relying on grants being project-scoped across our per-environment OAuth clients. The token is short-lived and belongs to the grant this org admin already established, so handing it back to that same admin's browser exposes nothing they cannot already reach. It stays narrow only because the Sheets flow omits `include_granted_scopes` — with it, this token would union in every other scope the account granted this client. Keep that off.
      parameters:
      - in: path
        name: connection_id
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - provider-connections
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SheetsPickerToken'
          description: ''
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
      summary: Provider connections sheets picker token
      x-summary-source: derived
  /v1/provider-connections/{connection_id}/sheets/inspect:
    post:
      operationId: provider_connections_sheets_inspect
      description: 'Lists tab names for a spreadsheet the Picker just granted. Takes the Picker''s file id, not a pasted URL: under drive.file the server can only open ids the user explicitly picked.'
      parameters:
      - in: path
        name: connection_id
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - provider-connections
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SpreadsheetInspectRequest'
        required: true
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpreadsheetOverview'
          description: ''
      summary: Provider connections sheets inspect
      x-summary-source: derived
  /v1/provider-connections/{connection_id}/sheets/configure:
    post:
      operationId: provider_connections_sheets_configure
      description: Create or run provider connections / sheets / configure. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      parameters:
      - in: path
        name: connection_id
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - provider-connections
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SpreadsheetConfigureRequest'
        required: true
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProviderConnection'
          description: ''
      summary: Provider connections sheets configure
      x-summary-source: derived
  /v1/provider-connections/{connection_id}/agents/{agent_id}:
    put:
      operationId: provider_connections_agents_update
      description: Replace provider connections / agents. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      parameters:
      - in: path
        name: agent_id
        schema:
          type: integer
        required: true
      - in: path
        name: connection_id
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - provider-connections
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentProviderOperationsRequest'
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProviderConnection'
          description: ''
      summary: Provider connections agents update
      x-summary-source: derived
    delete:
      operationId: provider_connections_agents_delete
      description: Delete provider connections / agents. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      parameters:
      - in: path
        name: agent_id
        schema:
          type: integer
        required: true
      - in: path
        name: connection_id
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - provider-connections
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '204':
          description: No response body
      summary: Provider connections agents delete
      x-summary-source: derived
  /v1/provider-connections/{provider}/api-key:
    post:
      operationId: provider_connections_api_key
      description: Create or run provider connections / api key. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      parameters:
      - in: path
        name: provider
        schema:
          type: string
        required: true
      tags:
      - provider-connections
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProviderApiKeyRequest'
        required: true
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProviderConnection'
          description: ''
      summary: Provider connections api key
      x-summary-source: derived
components:
  schemas:
    SpreadsheetConfigureRequest:
      type: object
      properties:
        spreadsheet_id:
          type: string
          minLength: 1
        sheet_name:
          type: string
          minLength: 1
      required:
      - sheet_name
      - spreadsheet_id
    NullEnum:
      enum:
      - null
    BlankEnum:
      enum:
      - ''
    ProviderConnectionTest:
      type: object
      properties:
        connection:
          $ref: '#/components/schemas/ProviderConnection'
        ok:
          type: boolean
        code:
          oneOf:
          - $ref: '#/components/schemas/ProviderConnectionErrorCodeEnum'
          - $ref: '#/components/schemas/BlankEnum'
        message:
          type: string
      required:
      - code
      - connection
      - message
      - ok
    ProviderConnectionProblem:
      type: object
      properties:
        code:
          $ref: '#/components/schemas/ProviderConnectionProblemCodeEnum'
        message:
          type: string
        fix:
          $ref: '#/components/schemas/ProviderConnectionFixEnum'
        operations:
          type: array
          items:
            type: string
      required:
      - code
      - fix
      - message
    SpreadsheetOverview:
      type: object
      properties:
        spreadsheet_id:
          type: string
        title:
          type: string
        sheets:
          type: array
          items:
            type: string
      required:
      - sheets
      - spreadsheet_id
      - title
    SpreadsheetInspectRequest:
      type: object
      properties:
        spreadsheet_id:
          type: string
          minLength: 1
      required:
      - spreadsheet_id
    ProviderConnections:
      type: object
      properties:
        configured:
          type: boolean
        providers:
          type: object
          additionalProperties: {}
        connections:
          type: array
          items:
            $ref: '#/components/schemas/ProviderConnection'
        agents:
          type: array
          items:
            type: object
            additionalProperties: {}
      required:
      - agents
      - configured
      - connections
      - providers
    AgentProviderOperationsRequest:
      type: object
      properties:
        allowed_operations:
          type:
          - object
          - 'null'
          additionalProperties:
            type: boolean
        raise_ceiling:
          type: boolean
          default: false
    SheetsPickerToken:
      type: object
      properties:
        access_token:
          type: string
      required:
      - access_token
    ProviderConnectionErrorCodeEnum:
      enum:
      - grant_revoked
      - provider_unavailable
      type: string
      description: '* `grant_revoked` - grant_revoked

        * `provider_unavailable` - provider_unavailable'
    ProviderConnectionFixEnum:
      enum:
      - reconnect
      - choose_spreadsheet
      - turn_on_operations
      type: string
      description: '* `reconnect` - reconnect

        * `choose_spreadsheet` - choose_spreadsheet

        * `turn_on_operations` - turn_on_operations'
    ProviderApiKeyRequest:
      type: object
      properties:
        api_key:
          type: string
          writeOnly: true
          minLength: 1
      required:
      - api_key
    ProviderConnectionProblemCodeEnum:
      enum:
      - signed_out
      - missing_access
      - spreadsheet_not_chosen
      - all_operations_off
      type: string
      description: '* `signed_out` - signed_out

        * `missing_access` - missing_access

        * `spreadsheet_not_chosen` - spreadsheet_not_chosen

        * `all_operations_off` - all_operations_off'
    ProviderConnection:
      type: object
      properties:
        id:
          type: string
          format: uuid
        provider:
          type: string
        provider_account_email:
          type: string
        provider_account_id:
          type: string
        provider_metadata:
          type: object
          additionalProperties: {}
        granted_scopes:
          type: array
          items:
            type: string
        allowed_operations:
          type: object
          additionalProperties:
            type: boolean
        send_guest_invitations:
          type: boolean
        effective_operations:
          type: object
          additionalProperties:
            type: boolean
        ungranted_operations:
          type: array
          items:
            type: string
        problems:
          type: array
          items:
            $ref: '#/components/schemas/ProviderConnectionProblem'
        token_expires_at:
          type:
          - string
          - 'null'
          format: date-time
        last_used_at:
          type:
          - string
          - 'null'
          format: date-time
        last_error_at:
          type:
          - string
          - 'null'
          format: date-time
        last_error_code:
          oneOf:
          - $ref: '#/components/schemas/ProviderConnectionErrorCodeEnum'
          - $ref: '#/components/schemas/NullEnum'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        agent_attachments:
          type: array
          items:
            type: object
            additionalProperties: {}
      required:
      - agent_attachments
      - allowed_operations
      - created_at
      - effective_operations
      - granted_scopes
      - id
      - last_error_at
      - last_error_code
      - last_used_at
      - problems
      - provider
      - provider_account_email
      - provider_account_id
      - provider_metadata
      - send_guest_invitations
      - token_expires_at
      - ungranted_operations
      - updated_at
    PatchedProviderOperationsRequest:
      type: object
      properties:
        allowed_operations:
          type: object
          additionalProperties:
            type: boolean
        send_guest_invitations:
          type: boolean
      minProperties: 1
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: sk_live_…
      description: 'Organization API key. Send Authorization: Bearer sk_live_…; create a key in the dashboard.'
    humanToken:
      type: apiKey
      in: header
      name: Authorization
      description: 'Human session token: Authorization: Token <session-token>. Organization API keys are rejected by key-management and account-control operations.'
x-mcp-server: https://api.thunderphone.com/v1/mcp