ThunderPhone Conversations API
The conversations API from ThunderPhone — 2 operation(s) for conversations.
The conversations API from ThunderPhone — 2 operation(s) for conversations.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/thunderphone-com:thunderphone-com-conversations-api"
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.
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: 3.2.0
info:
title: ThunderPhone Conversations 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: Conversations
paths:
/v1/conversations/{conversation_id}:
get:
operationId: conversations_retrieve
description: Retrieve conversations. 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: conversation_id
schema:
type: integer
required: true
tags:
- Conversations
security:
- bearerAuth: []
- bearerAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/TestConversation'
description: ''
summary: Conversations retrieve
x-summary-source: derived
/v1/conversations/{conversation_id}/revisions:
get:
operationId: conversations_revisions_list
description: Retrieve conversations / revisions. 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: conversation_id
schema:
type: integer
required: true
- in: query
name: limit
schema:
type: integer
minimum: 1
maximum: 100
default: 20
- in: query
name: offset
schema:
type: integer
minimum: 0
default: 0
tags:
- Conversations
security:
- bearerAuth: []
- bearerAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/TestConversationRevisionPage'
description: ''
summary: Conversations revisions list
x-summary-source: derived
components:
schemas:
TestConversationRevisionPage:
type: object
properties:
count:
type: integer
limit:
type: integer
offset:
type: integer
next_offset:
type:
- integer
- 'null'
conversation:
$ref: '#/components/schemas/TestConversation'
results:
type: array
items:
$ref: '#/components/schemas/TestConversationRevision'
hidden:
type: boolean
required:
- conversation
- count
- limit
- next_offset
- offset
- results
TestConversation:
type: object
properties:
id:
type: integer
agent_id:
type: integer
split:
type: string
description: dev or test.
source:
type: string
description: production, test_call, simulated, adversarial or manual.
status:
type: string
description: active or retired.
revision_count:
type: integer
retired_reason:
type: string
source_call_id:
type:
- integer
- 'null'
persona:
type:
- object
- 'null'
additionalProperties: {}
conversation_started_at:
type:
- string
- 'null'
format: date-time
current_revision:
allOf:
- $ref: '#/components/schemas/TestConversationRevisionSummary'
metadata:
type: object
additionalProperties: {}
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
rows:
type: array
items:
type: object
additionalProperties: {}
description: The current revision's turns; on the single-conversation endpoint only.
row_count:
type: integer
hidden:
type: boolean
description: True for a test-split conversation read with an API key.
hidden_reason:
type: string
required:
- agent_id
- id
- revision_count
- source
- split
- status
TestConversationRevision:
type: object
properties:
id:
type: integer
number:
type: integer
parent_id:
type:
- integer
- 'null'
prompt_revision_id:
type:
- integer
- 'null'
change_kind:
type: string
description: created, refreshed, restored or manual.
change_note:
type: string
behaviors:
$ref: '#/components/schemas/TestConversationRevisionBehaviors'
restored_from:
type:
- object
- 'null'
additionalProperties: {}
description: 'For a restore: the earlier revision its rows came from (revision_id, number, prompt_revision_id).'
refresh:
type:
- object
- 'null'
additionalProperties: {}
description: 'What a refresh recorded: from_prompt_revision_id, to_prompt_revision_id, the out_of_date agent turns, the rewrite, the examples moved, retired and brought back, and a note.'
changed_rows:
type: array
items:
type: integer
audio_real_through:
type:
- integer
- 'null'
created_by:
type: string
created_at:
type: string
format: date-time
row_count:
type: integer
diff:
type: array
items:
type: object
additionalProperties: {}
required:
- audio_real_through
- behaviors
- change_kind
- change_note
- changed_rows
- created_at
- created_by
- diff
- id
- number
- parent_id
- prompt_revision_id
- refresh
- restored_from
- row_count
TestConversationRevisionBehaviors:
type: object
properties:
added:
type: array
items:
type: object
additionalProperties: {}
removed:
type: array
items:
type: object
additionalProperties: {}
changed:
type: array
items:
type: object
additionalProperties: {}
reworded:
type: array
items:
type: string
required:
- added
- changed
- removed
- reworded
TestConversationRevisionSummary:
type: object
properties:
id:
type: integer
number:
type: integer
prompt_revision_id:
type:
- integer
- 'null'
change_kind:
type: string
row_count:
type: integer
audio_real_through:
type:
- integer
- 'null'
created_at:
type: string
format: date-time
required:
- audio_real_through
- change_kind
- created_at
- id
- number
- prompt_revision_id
- row_count
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