ThunderPhone Opt Outs API
The opt-outs API from ThunderPhone — 1 operation(s) for opt-outs.
The opt-outs API from ThunderPhone — 1 operation(s) for opt-outs.
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-opt-outs-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 Opt Outs 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: opt-outs
paths:
/v1/opt-outs:
get:
operationId: opt_outs_list
description: Retrieve opt outs. 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: query
name: channel
schema:
type: string
enum:
- call
- sms
- in: query
name: limit
schema:
type: integer
- in: query
name: number
schema:
type: string
- in: query
name: offset
schema:
type: integer
- in: query
name: source
schema:
type: string
tags:
- opt-outs
security:
- bearerAuth: []
- bearerAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/ContactOptOutList'
description: ''
summary: Opt outs list
x-summary-source: derived
post:
operationId: opt_outs_create
description: Create or run opt outs. 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:
- opt-outs
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ContactOptOutCreateRequest'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/ContactOptOutCreateRequest'
multipart/form-data:
schema:
$ref: '#/components/schemas/ContactOptOutCreateRequest'
required: true
security:
- bearerAuth: []
- bearerAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/ContactOptOutCreateResult'
description: ''
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/ContactOptOutCreateResult'
description: ''
summary: Opt outs create
x-summary-source: derived
delete:
operationId: opt_outs_delete
description: Delete opt outs. 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: query
name: channel
schema:
type: string
enum:
- both
- call
- sms
- in: query
name: number
schema:
type: string
required: true
tags:
- opt-outs
security:
- bearerAuth: []
- bearerAuth: []
responses:
'204':
description: No response body
summary: Opt outs delete
x-summary-source: derived
components:
schemas:
ContactOptOutChannelEnum:
enum:
- sms
- call
type: string
description: '* `sms` - Texts
* `call` - Calls'
ContactOptOutCreateRequest:
type: object
properties:
number:
type: string
minLength: 1
maxLength: 32
channel:
allOf:
- $ref: '#/components/schemas/ContactOptOutRequestChannelEnum'
default: both
required:
- number
ContactOptOutSourceEnum:
enum:
- api
- manual
- carrier
- inbound_stop
- call_request
type: string
description: '* `api` - API
* `manual` - Added in the dashboard
* `carrier` - Carrier opt-out
* `inbound_stop` - Replied STOP
* `call_request` - Asked on a call'
ContactOptOutList:
type: object
properties:
count:
type: integer
results:
type: array
items:
$ref: '#/components/schemas/ContactOptOut'
required:
- count
- results
ContactOptOutCreateResult:
type: object
properties:
results:
type: array
items:
$ref: '#/components/schemas/ContactOptOut'
required:
- results
ContactOptOutRequestChannelEnum:
enum:
- sms
- call
- both
type: string
description: '* `sms` - sms
* `call` - call
* `both` - both'
ContactOptOut:
type: object
properties:
id:
type: integer
readOnly: true
number:
type: string
readOnly: true
channel:
allOf:
- $ref: '#/components/schemas/ContactOptOutChannelEnum'
readOnly: true
source:
allOf:
- $ref: '#/components/schemas/ContactOptOutSourceEnum'
readOnly: true
source_reference:
type: string
readOnly: true
blocks:
type: boolean
readOnly: true
created_at:
type: string
format: date-time
readOnly: true
updated_at:
type: string
format: date-time
readOnly: true
required:
- blocks
- channel
- created_at
- id
- number
- source
- source_reference
- updated_at
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