For the complete documentation index, see llms.txt. Any page on this site can be fetched as Markdown by appending .md to its URL.

RoutingPhone numbers

List phone numbers

GET
/v1/routing/phone-numbers

List every phone number belonging to your organization. Each entry is the number's full record, so reading a number's routing settings does not need a second request.

Authorization

bearerAuth
AuthorizationBearer <token>

A Tandem bearer token. Requests are scoped to the organization the token belongs to; no organization header is required.

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/routing/phone-numbers"
[  {    "id": "string",    "label": "string",    "phoneNumber": "string",    "workflowId": "string",    "target": {      "type": "workflow",      "id": "string"    },    "variables": {      "property1": "string",      "property2": "string"    },    "recordCalls": "inherit",    "smsCapability": "enabled",    "mmsCapability": "enabled",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }]
{  "error": {    "code": "string",    "message": "string"  }}