Skip to main content
New to Corsair? See API access, authentication, and error handling.

Agents

attachNumber

agents.attachNumber Attach an existing phone number to an agent. Risk: write
Input Output

create

agents.create Create Agent. Risk: write
Input
Output

delete

agents.delete Delete Agent. Risk: destructive · Irreversible
Input Output

detachNumber

agents.detachNumber Detach a phone number from an agent (sets agentId to null). Risk: destructive
Input Output: any

get

agents.get Get a single agent with its attached numbers. Risk: read
Input Output

list

agents.list List all agents for this account. Risk: read
Input Output

listCalls

agents.listCalls List all calls for an agent. Risk: read
Input Output

listConversations

agents.listConversations List all conversations for an agent. Risk: read
Input Output

listVoices

agents.listVoices Return available voices from the configured voice provider. Risk: read
Input Output: any

update

agents.update Update an agent’s configuration. Risk: write
Input
Output

Agent Webhooks

delete

agentWebhooks.delete Remove the webhook for a specific agent. Risk: destructive
Input Output: any

get

agentWebhooks.get Get the webhook configuration for a specific agent. Risk: read
Input Output

listDeliveries

agentWebhooks.listDeliveries Get recent webhook delivery attempts for a specific agent’s webhook. Risk: read
Input Output: object[]

test

agentWebhooks.test Send a test webhook to the agent’s webhook endpoint. Risk: destructive
Input
Output: any

upsert

agentWebhooks.upsert Save the webhook for one agent. Store the signing secret returned by AgentPhone. Risk: write
Input Output

Caller Name

get

callerName.get The caller name shown when this number calls someone. supported is false for numbers that can’t set one. Risk: read
Input Output

upsert

callerName.upsert Set the caller name (max 15 characters). Starts as “pending” and usually becomes “active” within 1-3 days. Display is up to the receiving carrier; many mobile carriers don’t show it. Risk: write
Input Output

Calls

createOutbound

calls.createOutbound Initiate an outbound call. Risk: destructive
Input Output: any

createWeb

calls.createWeb Create a browser-based web call. Risk: destructive
Input
Output: any

end

calls.end Terminate an ongoing call. Risk: destructive · Irreversible
Input Output: any

get

calls.get Get a specific call with its transcripts. Risk: read
Input Output: any

getRecording

calls.getRecording Download the recording as a file. Keep recording URLs and audio private. Risk: read
Input Output

getTranscript

calls.getTranscript Get the full transcript for a call. Risk: read
Input Output: any

list

calls.list List all calls for this account. Risk: read
Input Output: any

listForNumber

calls.listForNumber List all calls for a specific phone number. Risk: read
Input Output: any

pushTranscript

calls.pushTranscript Push transcript turns for a call (e.g. from a BYO voice stack). Risk: destructive
Input
Output: any

streamTranscript

calls.streamTranscript Replay a finished call as server-sent event text. This operation checks the call status and returns the complete replay after the ended event. Use calls.getTranscript for a snapshot during a live call. Risk: read
Input Output

Contact Cards

delete

contactCards.delete Remove the iMessage contact card from this number. Risk: destructive
Input Output

get

contactCards.get Fetch the iMessage contact card set on this number. Risk: read
Input Output

upsert

contactCards.upsert Create or replace the iMessage contact card on this number. Risk: write
Input Output

Contacts

create

contacts.create Create a new contact. Risk: write
Input Output

delete

contacts.delete Delete Contact. Risk: destructive · Irreversible
Input Output

get

contacts.get Get a single contact by ID. Risk: read
Input Output

getCapabilities

contacts.getCapabilities Check which messaging channels a phone number supports, without sending a message. Risk: read
Input Output

list

contacts.list List all contacts for this account. Risk: read
Input Output

update

contacts.update Update a contact’s fields. Risk: write
Input Output

Conversations

get

conversations.get Get a conversation with its recent messages. Risk: read
Input Output

list

conversations.list List all conversations for this account. Risk: read
Input Output

listMessages

conversations.listMessages Get paginated messages for a conversation. Risk: read
Input Output

removeBackground

conversations.removeBackground Clear the custom wallpaper for the chat (iMessage only). Risk: destructive
Input Output

sendTypingIndicator

conversations.sendTypingIndicator Show a typing indicator in the conversation (iMessage only). Risk: destructive
Input Output

setBackground

conversations.setBackground Set a custom wallpaper for the chat (iMessage only). Risk: destructive
Input Output

update

conversations.update Update a conversation. Risk: write
Input
Output

Feedback

submit

feedback.submit Report an API issue or documentation mismatch, including the request id of the call it is about when you have one. Risk: destructive
Input Output

Location

get

location.get Get Location. Risk: read
Input Output

refresh

location.refresh Refresh Locations. Risk: destructive
Input Output

Messages

send

messages.send Send a message from an existing number. SMS requires outbound carrier activation. Check message history for delivery status before retrying a timed-out send. Risk: destructive
Input
Output

sendReaction

messages.sendReaction Send Reaction. Risk: destructive
Input Output

Numbers

create

numbers.create Provision an AgentPhone number. AgentPhone charges the first month when it provisions the number. Risk: destructive
Input Output

get

numbers.get Get a single phone number owned by this account. Risk: read
Input Output

list

numbers.list List the phone numbers already assigned to the account. Use the returned id to fetch message history or calls. Risk: read
Input Output

listAvailable

numbers.listAvailable Search purchasable phone numbers before buying one. Risk: read
Input Output

listMessages

numbers.listMessages Read message history for a number, including inbound SMS. Use the number id from numbers.list and follow nextCursor for older or newer messages. Risk: read
Input Output

lookup

numbers.lookup Look up line type, country, and RCS support. Replace the example with the E.164 number to look up. AgentPhone bills each number looked up. Risk: destructive
Input Output

release

numbers.release Permanently release a phone number and stop renewals. Risk: destructive · Irreversible
Input Output: any

update

numbers.update Update an existing number. Use an externalId unique to your account. Risk: write
Input Output

updateInboundCalls

numbers.updateInboundCalls Turn inbound calls on or off for one number. Risk: write
Input Output

updateVoiceRouting

numbers.updateVoiceRouting Route a number’s inbound calls. Risk: write
Input Output

Registration

getDetails

registration.getDetails Retrieve the content of your submitted A2P 10DLC registration. Risk: read
Input Output

getStatus

registration.getStatus Get Registration Status. Risk: read
Input Output

register

registration.register Submit an A2P registration. Adapt the sample messages, consent flow, and business details for your campaign. Risk: destructive
Input Output

update

registration.update Update an existing A2P 10DLC registration. Risk: destructive
Input Output

Sip Trunks

create

sipTrunks.create Create a SIP trunk for routing your numbers’ calls to your own SIP infrastructure. Risk: write
Input
Output

delete

sipTrunks.delete Delete a SIP trunk (removes upstream and soft-deletes locally). Risk: destructive · Irreversible
Input Output

get

sipTrunks.get Get a single SIP trunk. Risk: read
Input Output

list

sipTrunks.list List SIP trunks for the current account. Risk: read
Input Output

update

sipTrunks.update Update a SIP trunk (name, transfers, origination URIs). Risk: write
Input
Output

Sub Accounts

create

subAccounts.create Create Sub Account. Risk: write
Input Output: any

delete

subAccounts.delete Delete Sub Account. Risk: destructive · Irreversible
Input Output: any

list

subAccounts.list List Sub Accounts. Risk: read
Input Output: any

update

subAccounts.update Update Sub Account. Risk: write
Input Output: any

Usage

get

usage.get Get usage statistics for the current account. Risk: read
Input Output

getByAgent

usage.getByAgent Get Usage By Agent. Risk: read
Input Output

getByNumber

usage.getByNumber Get usage statistics broken down by phone number, with linked agent info. Risk: read
Input Output

getDaily

usage.getDaily Get daily usage breakdown for the last N days (up to 365). Returns per-day counts of messages, calls, and webhook deliveries. Risk: read
Input Output

getMonthly

usage.getMonthly Get monthly usage aggregation for the last N months. Returns per-month totals of messages, calls, and webhook deliveries. Risk: read
Input Output

Verification

check

verification.check Check a code for a challenge created with verification.send. Risk: destructive
Input Output

send

verification.send Start an AgentPhone Verify challenge for a recipient who has requested verification. Risk: destructive
Input Output

Webhooks

delete

webhooks.delete Remove the master webhook for this account. Risk: destructive
Input Output: any

get

webhooks.get Get the master webhook configuration for this account. Risk: read
Input Output

getAllTimeStats

webhooks.getAllTimeStats Lightweight all-time delivery counts using indexed COUNT queries. Risk: read
Input Output

getDeliveryStats

webhooks.getDeliveryStats Aggregated delivery stats for the account’s webhooks over the last N hours. Risk: read
Input Output

listDeliveries

webhooks.listDeliveries Get paginated webhook delivery attempts for all account webhooks. Risk: read
Input Output

test

webhooks.test Send a test webhook to verify the endpoint is working. Risk: destructive
Input
Output: any

upsert

webhooks.upsert Save the account-level webhook. Store the signing secret returned by AgentPhone and update the webhook handler whenever the secret changes. Risk: write
Input Output

Whatsapp

connect

whatsapp.connect Complete Embedded Signup: exchange the code, store the connection, and onboard the phone number (register + subscribe webhooks). Risk: write
Input Output: any

connectNumber

whatsapp.connectNumber Connect an additional number from an already-connected WABA: validates the number belongs to the WABA, registers it for Cloud API use, and binds it (dual-channel when the E.164 already exists on this account). Risk: write
Input Output: any

createTemplate

whatsapp.createTemplate Submit a template, authored or from Meta’s Template Library. Risk: write
Input
Output: any

deleteTemplate

whatsapp.deleteTemplate Delete a template by name. Risk: destructive · Irreversible
Input Output: any

disconnect

whatsapp.disconnect Disconnect a WABA: mark the connection disconnected and release its numbers. Risk: destructive · Irreversible
Input Output: any

getStatus

whatsapp.getStatus Whatsapp Status. Risk: read
Input Output: any

listAvailableNumbers

whatsapp.listAvailableNumbers Whatsapp Available Numbers. Risk: read
Input Output: any

listTemplates

whatsapp.listTemplates List the WABA’s message templates and their approval status. Risk: read
Input Output: any