Toll-Free Campaigns
List toll-free campaigns
Changed onList all toll-free campaigns for an account with cursor-based pagination.
get/accounts/{account_id}/toll_free_campaigns
Request
- Base URLhttps://api.surge.app
- URLhttps://api.surge.app/accounts/{account_id}/toll_free_campaigns
- AuthHTTP bearer
Path parameters
account_idstring required
The account ID to list toll-free campaigns for.
Example:acct_01j9a43avnfqzbjfch6pygv1td
Query parameters
afterstring
Cursor for forward pagination. Use the next_cursor from a previous response.
beforestring
Cursor for backward pagination. Use the previous_cursor from a previous response.
Response
List of toll-free campaigns
Example response
{
"pagination": {
"next_cursor": "g3QAAAABZAACaWRtAAAAGnBuXzAxamtzY2s5eDdkeW0wZnBxZjdjYmRyeQ==",
"previous_cursor": null
}
}Changes
- info
endpoint added
- info