ThunderPhone Integrations API

The integrations API from ThunderPhone — 5 operation(s) for integrations.

GitHub OpenAPI

Operations 9

GET /v1/integrations/{integration_id} Integrations retrieve #
PUT /v1/integrations/{integration_id} Integrations update #
PATCH /v1/integrations/{integration_id} Integrations partial update #
DELETE /v1/integrations/{integration_id} Integrations delete #
POST /v1/integrations/test-request Integrations test request create #
GET /v1/integrations Integrations list #
POST /v1/integrations Integrations create #
POST /v1/integrations/{integration_id}/transfer Integrations transfer #
GET /v1/integrations/{integration_id}/versions Integrations versions list #

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-integrations-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-integrations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ThunderPhone Integrations 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: Integrations
paths:
  /v1/integrations/{integration_id}:
    get:
      operationId: integrations_retrieve
      description: Retrieve integrations. 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: integration_id
        schema:
          type: integer
        required: true
      tags:
      - Integrations
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentIntegration'
          description: ''
      summary: Integrations retrieve
      x-summary-source: derived
    put:
      operationId: integrations_update
      description: Replace integrations. 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: integration_id
        schema:
          type: integer
        required: true
      tags:
      - Integrations
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentIntegrationRequest'
        required: true
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentIntegration'
          description: ''
      summary: Integrations update
      x-summary-source: derived
    patch:
      operationId: integrations_partial_update
      description: Update integrations. 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: integration_id
        schema:
          type: integer
        required: true
      tags:
      - Integrations
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedAgentIntegrationRequest'
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentIntegration'
          description: ''
      summary: Integrations partial update
      x-summary-source: derived
    delete:
      operationId: integrations_delete
      description: Delete integrations. 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: integration_id
        schema:
          type: integer
        required: true
      tags:
      - Integrations
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '204':
          description: No response body
      summary: Integrations delete
      x-summary-source: derived
  /v1/integrations/test-request:
    post:
      operationId: integrations_test_request_create
      description: Create or run integrations / test request. 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:
      - Integrations
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntegrationTestRequestRequest'
        required: true
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationTest'
          description: ''
      summary: Integrations test request create
      x-summary-source: derived
  /v1/integrations:
    get:
      operationId: integrations_list
      description: Retrieve integrations. 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:
      - Integrations
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OrganizationIntegration'
          description: ''
      summary: Integrations list
      x-summary-source: derived
    post:
      operationId: integrations_create
      description: Create or run integrations. 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:
      - Integrations
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntegrationCreateUpdateRequest'
        required: true
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationIntegration'
          description: ''
      summary: Integrations create
      x-summary-source: derived
  /v1/integrations/{integration_id}/transfer:
    post:
      operationId: integrations_transfer
      description: Create or run integrations / transfer. 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: integration_id
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - Integrations
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntegrationTransferRequest'
        required: true
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationTransfer'
          description: ''
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationTransfer'
          description: ''
      summary: Integrations transfer
      x-summary-source: derived
  /v1/integrations/{integration_id}/versions:
    get:
      operationId: integrations_versions_list
      description: Retrieve integrations / versions. 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: integration_id
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - Integrations
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VersionPage'
          description: ''
      summary: Integrations versions list
      x-summary-source: derived
components:
  schemas:
    IntegrationCreateUpdateValidationStatusEnum:
      enum:
      - untested
      - validated
      - error
      type: string
      description: '* `untested` - untested

        * `validated` - validated

        * `error` - error'
    AgentIntegration:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        display_name:
          type: string
          maxLength: 255
        spec: {}
        endpoint: {}
        wizard_input:
          type: string
        validation_status:
          $ref: '#/components/schemas/ValidationStatusC53Enum'
        created_at:
          type: string
          format: date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
      required:
      - created_at
      - display_name
      - id
      - spec
      - updated_at
    AgentIntegrationRequest:
      type: object
      properties:
        display_name:
          type: string
          minLength: 1
          maxLength: 255
        spec: {}
        endpoint: {}
        wizard_input:
          type: string
        validation_status:
          $ref: '#/components/schemas/ValidationStatusC53Enum'
      required:
      - display_name
      - spec
    IntegrationHeader:
      type: object
      description: 'HTTP header sent with the integration''s endpoint request.


        The value is write-only: it is encrypted at rest and responses carry

        ``key`` only, the same shape as MCP server headers. On create every

        header needs a value (or ``copy_header_values_from``); on update an

        omitted or blank value keeps the stored value for that header name

        (case-insensitive), and a header left out of the list is removed.'
      properties:
        key:
          type: string
          maxLength: 255
      required:
      - key
    RequestFormatEnum:
      enum:
      - standard
      - vapi
      - retell
      type: string
      description: '* `standard` - Standard

        * `vapi` - Vapi

        * `retell` - Retell'
    IntegrationTestRequestRequest:
      type: object
      properties:
        url:
          type: string
          format: uri
          minLength: 1
          maxLength: 2048
        method:
          allOf:
          - $ref: '#/components/schemas/MethodEnum'
          default: POST
        headers:
          type: object
          additionalProperties:
            type: string
            maxLength: 2048
        body: {}
        tool_name:
          type: string
          default: test_tool
        request_format:
          allOf:
          - $ref: '#/components/schemas/RequestFormatEnum'
          default: standard
        timeout_seconds:
          type: integer
          maximum: 60
          minimum: 1
          default: 20
        integration_id:
          type: string
          format: uuid
          description: A saved integration in this organization. Headers sent with an empty value are filled with its stored value for the same name. Requires admin.
      required:
      - url
    IntegrationTriggerEnum:
      enum:
      - agent
      - call_start
      type: string
      description: '* `agent` - When the agent calls it

        * `call_start` - At the start of every phone call'
    IntegrationWarning:
      type: object
      description: 'Schema only: a saved setting worth a second look (see Integration.warnings).'
      properties:
        code:
          type: string
          description: '"tool_has_no_inputs": the tool declares no parameters, so the agent calls it with no data.'
        field:
          type: string
          description: The integration field the warning is about.
        detail:
          type: string
      required:
      - code
      - detail
      - field
    IntegrationTest:
      type: object
      properties:
        ok:
          type: boolean
        status_code:
          type: integer
        reason:
          type: string
        latency_ms:
          type: integer
        response_headers:
          type: object
          additionalProperties:
            type: string
        response_body_preview:
          type: string
        response_truncated:
          type: boolean
      required:
      - latency_ms
      - ok
      - reason
      - response_body_preview
      - response_headers
      - response_truncated
      - status_code
    IntegrationCreateUpdateRequest:
      type: object
      properties:
        display_name:
          type: string
          minLength: 1
          maxLength: 255
        spec: {}
        wizard_input:
          type: string
          default: ''
        endpoint_url:
          type: string
          format: uri
          default: ''
          maxLength: 2048
        endpoint_method:
          allOf:
          - $ref: '#/components/schemas/EndpointMethodEnum'
          default: POST
        request_format:
          allOf:
          - $ref: '#/components/schemas/RequestFormatEnum'
          default: standard
        headers:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationHeaderRequest'
        validation_status:
          allOf:
          - $ref: '#/components/schemas/IntegrationCreateUpdateValidationStatusEnum'
          default: untested
        trigger:
          allOf:
          - $ref: '#/components/schemas/IntegrationTriggerEnum'
          description: '"agent" (default): the agent calls the tool when it decides to. "call_start": ThunderPhone also runs it at the start of every phone call, before the greeting, with call_start_arguments, and gives the result to the agent.


            * `agent` - When the agent calls it

            * `call_start` - At the start of every phone call'
        call_start_arguments:
          description: 'With trigger "call_start": the arguments sent at the start of the call, one value per tool parameter, and every required parameter. Strings may use {{caller_number}} (the other party, E.164), {{caller_number_national}} and {{agent_number}}. Ignored and cleared for trigger "agent".'
        copy_header_values_from:
          type: string
          format: uuid
          writeOnly: true
          description: 'Create only. Another integration in the same organization: a header sent without a value takes that integration''s stored value for the same name.'
      required:
      - display_name
      - spec
    ModeFfbEnum:
      enum:
      - copy
      - move
      type: string
      description: '* `copy` - copy

        * `move` - move'
    EndpointMethodEnum:
      enum:
      - GET
      - POST
      - PUT
      - PATCH
      - DELETE
      type: string
      description: '* `GET` - GET

        * `POST` - POST

        * `PUT` - PUT

        * `PATCH` - PATCH

        * `DELETE` - DELETE'
    IntegrationHeaderRequest:
      type: object
      description: 'HTTP header sent with the integration''s endpoint request.


        The value is write-only: it is encrypted at rest and responses carry

        ``key`` only, the same shape as MCP server headers. On create every

        header needs a value (or ``copy_header_values_from``); on update an

        omitted or blank value keeps the stored value for that header name

        (case-insensitive), and a header left out of the list is removed.'
      properties:
        key:
          type: string
          minLength: 1
          maxLength: 255
        value:
          type: string
          writeOnly: true
          maxLength: 4096
      required:
      - key
    IntegrationTransferRequest:
      type: object
      properties:
        target_org_id:
          type: integer
          minimum: 1
        mode:
          allOf:
          - $ref: '#/components/schemas/ModeFfbEnum'
          default: copy
        name:
          type: string
          maxLength: 255
      required:
      - target_org_id
    MethodEnum:
      enum:
      - GET
      - POST
      - PUT
      - PATCH
      - DELETE
      type: string
      description: '* `GET` - GET

        * `POST` - POST

        * `PUT` - PUT

        * `PATCH` - PATCH

        * `DELETE` - DELETE'
    OrganizationIntegration:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        display_name:
          type: string
          maxLength: 255
        spec: {}
        wizard_input:
          type: string
        endpoint_url:
          type: string
          format: uri
          maxLength: 2048
        endpoint_method:
          $ref: '#/components/schemas/EndpointMethodEnum'
        request_format:
          $ref: '#/components/schemas/RequestFormatEnum'
        headers:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationHeader'
          readOnly: true
        validation_status:
          $ref: '#/components/schemas/ValidationStatusC53Enum'
        trigger:
          $ref: '#/components/schemas/IntegrationTriggerEnum'
        call_start_arguments: {}
        warnings:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationWarning'
          readOnly: true
          description: Saved settings worth a second look. Warnings never block a save.
        created_at:
          type: string
          format: date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
      required:
      - created_at
      - display_name
      - headers
      - id
      - updated_at
      - warnings
    VersionPage:
      type: object
      properties:
        count:
          type: integer
        results:
          type: array
          items:
            type: object
            additionalProperties: {}
      required:
      - count
      - results
    IntegrationTransfer:
      type: object
      properties:
        mode:
          $ref: '#/components/schemas/ModeFfbEnum'
        source_org_id:
          type: integer
        target_org_id:
          type: integer
        integration:
          $ref: '#/components/schemas/OrganizationIntegration'
      required:
      - integration
      - mode
      - source_org_id
      - target_org_id
    PatchedAgentIntegrationRequest:
      type: object
      properties:
        display_name:
          type: string
          minLength: 1
          maxLength: 255
        spec: {}
        endpoint: {}
        wizard_input:
          type: string
        validation_status:
          $ref: '#/components/schemas/ValidationStatusC53Enum'
    ValidationStatusC53Enum:
      enum:
      - untested
      - validated
      - error
      type: string
      description: '* `untested` - Untested

        * `validated` - Validated

        * `error` - Error'
  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