ThunderPhone Sms API
The sms API from ThunderPhone — 2 operation(s) for sms.
The sms API from ThunderPhone — 2 operation(s) for sms.
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-sms-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 Sms 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: SMS
paths:
/v1/sms:
get:
operationId: sms_list
description: Retrieve sms. 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:
- SMS
security:
- bearerAuth: []
- bearerAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/SmsMessageList'
description: ''
summary: Sms list
x-summary-source: derived
post:
operationId: sms_create
description: Create or run sms. 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: header
name: Idempotency-Key
schema:
type: string
description: Organization-scoped key (1-128 characters). Reuse only for the identical request.
required: true
tags:
- SMS
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SmsSendRequest'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/SmsSendRequest'
multipart/form-data:
schema:
$ref: '#/components/schemas/SmsSendRequest'
required: true
security:
- bearerAuth: []
- bearerAuth: []
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/SmsMessage'
description: ''
'202':
content:
application/json:
schema:
$ref: '#/components/schemas/SmsMessage'
description: ''
summary: Sms create
x-summary-source: derived
/v1/sms/{message_id}:
get:
operationId: sms_retrieve
description: Retrieve sms. 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: message_id
schema:
type: string
format: uuid
required: true
tags:
- SMS
security:
- bearerAuth: []
- bearerAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/SmsMessage'
description: ''
summary: Sms retrieve
x-summary-source: derived
components:
schemas:
DirectionD75Enum:
enum:
- outbound
- inbound
type: string
description: '* `outbound` - Outbound
* `inbound` - Inbound'
SmsSendRequest:
type: object
properties:
from_number:
type: string
minLength: 1
maxLength: 32
to:
type: string
minLength: 1
maxLength: 32
body:
type: string
minLength: 1
maxLength: 1600
required:
- body
- from_number
- to
SmsMessageList:
type: object
properties:
count:
type: integer
results:
type: array
items:
$ref: '#/components/schemas/SmsMessage'
required:
- count
- results
SmsMessage:
type: object
properties:
id:
type: string
format: uuid
readOnly: true
from_number:
type: string
readOnly: true
to:
type: string
readOnly: true
body:
type: string
readOnly: true
direction:
allOf:
- $ref: '#/components/schemas/DirectionD75Enum'
readOnly: true
source:
allOf:
- $ref: '#/components/schemas/SmsMessageSourceEnum'
readOnly: true
status:
allOf:
- $ref: '#/components/schemas/SmsMessageStatusEnum'
readOnly: true
provider:
type: string
readOnly: true
provider_id:
type: string
readOnly: true
segment_count:
type: integer
readOnly: true
error_code:
type: string
readOnly: true
error_message:
type: string
readOnly: true
call_id:
type:
- integer
- 'null'
readOnly: true
agent_id:
type:
- integer
- 'null'
readOnly: true
attempt_count:
type: integer
readOnly: true
attempt_started_at:
type:
- string
- 'null'
format: date-time
readOnly: true
next_attempt_at:
type:
- string
- 'null'
format: date-time
readOnly: true
accepted_at:
type:
- string
- 'null'
format: date-time
readOnly: true
delivery_status:
allOf:
- $ref: '#/components/schemas/DeliveryStatusEnum'
readOnly: true
delivered_at:
type:
- string
- 'null'
format: date-time
readOnly: true
delivery_failed_at:
type:
- string
- 'null'
format: date-time
readOnly: true
provider_error_code:
type: string
readOnly: true
created_at:
type: string
format: date-time
readOnly: true
updated_at:
type: string
format: date-time
readOnly: true
required:
- accepted_at
- agent_id
- attempt_count
- attempt_started_at
- body
- call_id
- created_at
- delivered_at
- delivery_failed_at
- delivery_status
- direction
- error_code
- error_message
- from_number
- id
- next_attempt_at
- provider
- provider_error_code
- provider_id
- segment_count
- source
- status
- to
- updated_at
SmsMessageSourceEnum:
enum:
- api
- agent_tool
- followup
- scheduled
- pre_call
type: string
description: '* `api` - API
* `agent_tool` - Agent tool
* `followup` - Post-call follow-up
* `scheduled` - Scheduled send
* `pre_call` - Campaign pre-call text'
SmsMessageStatusEnum:
enum:
- pending
- accepted
- retrying
- failed
- unknown
type: string
description: '* `pending` - Pending
* `accepted` - Accepted
* `retrying` - Retrying
* `failed` - Failed
* `unknown` - Unknown'
DeliveryStatusEnum:
enum:
- queued
- sending
- sent
- delivered
- undelivered
- failed
type: string
description: '* `queued` - Queued
* `sending` - Sending
* `sent` - Sent
* `delivered` - Delivered
* `undelivered` - Undelivered
* `failed` - Failed'
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