Call Tokens
GET /call/{token_id}
Section titled “GET /call/{token_id}”Execute a pre-configured call using a call token with quota control.
The destination phone number is provided as a query parameter and merged into the token’s pre-configured payload before proxying to papi.
Parameters
Section titled “Parameters”| Name | In | Type | Required | Notes |
|---|---|---|---|---|
token_id |
path | string | Yes | — |
destination |
query | string | Yes | — |
Responses
Section titled “Responses”| Code | Meaning |
|---|---|
200 |
Call initiated successfully |
400 |
Invalid phone number |
403 |
Token is disabled |
404 |
Token not found |
422 |
Validation Error |
429 |
Quota exceeded |
Example
Section titled “Example”curl -X GET 'https://<partner-api-host>/call/<token_id>?destination=<destination>' \ -H 'apikey: <your-api-key>'