Telephony: numbers, calls, SMS, voicemail, call flows, and VOIP devices.
|
|
| Endpoint |
POST https://phone.api.gist.link/graphql |
| Token audience |
audience=phone |
| Permission prefix |
phone: |
Mint an access token for this API with your IAM key and audience=phone
— see Authentication.
| Operation |
Required permission |
Description |
agentConfigs |
phone:query:agentConfigs |
— |
call |
phone:query:call |
— |
callFlow |
phone:query:callFlow |
— |
callFlows |
phone:query:callFlows |
— |
calls |
phone:query:calls |
Call history (paginated, filterable). |
contactNumbers |
phone:query:contactNumbers |
Outside numbers the org has called, been called by, or texted with (most recent first). |
handoffRules |
phone:query:handoffRules |
— |
health |
phone:query:health |
Public liveness/identity probe (no auth required). |
messages |
phone:query:messages |
Messages, optionally scoped to one thread (paginated). |
messageThreads |
phone:query:messageThreads |
SMS conversations grouped by contact (latest message per contact). |
number |
phone:query:number |
— |
numbers |
phone:query:numbers |
Phone numbers owned by the organization. |
searchAvailableNumbers |
phone:query:searchAvailableNumbers |
Search the carrier for purchasable numbers. |
voicemail |
phone:query:voicemail |
— |
voicemails |
phone:query:voicemails |
— |
voipEndpoints |
phone:query:voipEndpoints |
The calling user’s registered VOIP endpoints. |
| Operation |
Required permission |
Description |
activateCallFlow |
phone:mutation:activateCallFlow |
Point a number at a flow; a null flowUuid reverts to default voicemail. |
deleteAgentConfig |
phone:mutation:deleteAgentConfig |
— |
deleteCallFlow |
phone:mutation:deleteCallFlow |
— |
deleteHandoffRule |
phone:mutation:deleteHandoffRule |
— |
hangupCall |
phone:mutation:hangupCall |
— |
markThreadRead |
phone:mutation:markThreadRead |
Mark every inbound message in a thread as read; returns the count. |
markVoicemailRead |
phone:mutation:markVoicemailRead |
— |
purchaseNumber |
phone:mutation:purchaseNumber |
Buy a number from the carrier and wire its webhooks. |
registerVoipEndpoint |
phone:mutation:registerVoipEndpoint |
Register a browser or SIP endpoint; SIP credentials are returned exactly once. |
releaseNumber |
phone:mutation:releaseNumber |
Release the number back to the carrier (irreversible). |
revokeVoipEndpoint |
phone:mutation:revokeVoipEndpoint |
— |
saveAgentConfig |
phone:mutation:saveAgentConfig |
— |
saveCallFlow |
phone:mutation:saveCallFlow |
Create (no uuid) or update (uuid) a call flow. Steps are validated. |
saveHandoffRule |
phone:mutation:saveHandoffRule |
— |
sendMessage |
phone:mutation:sendMessage |
Queue an outbound SMS (delivery is async via Messenger). |
setVoipEndpointRing |
phone:mutation:setVoipEndpointRing |
— |
startCall |
phone:mutation:startCall |
Server-initiated click-to-call from an owned number. |
updateNumber |
phone:mutation:updateNumber |
— |
voiceAccessToken |
phone:mutation:voiceAccessToken |
Short-lived Twilio Voice access token for the browser softphone. |