Toll-Free Campaigns

List toll-free campaigns

Changed on

List all toll-free campaigns for an account with cursor-based pagination.

get/accounts/{account_id}/toll_free_campaigns

Request

  • Base URL
    https://api.surge.app
  • URL
    https://api.surge.app/accounts/{account_id}/toll_free_campaigns
  • Auth
    HTTP 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