curl --request GET \
--url https://api.comm.com/api/v1/voice/numbers \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"number": 123,
"voice_account_id": "<string>",
"inbound_agent_id": "<string>",
"sip_config": "<string>",
"disallowed_countries": "<string>",
"team_id": "<string>",
"voice_provider": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}
curl --request GET \
--url https://api.comm.com/api/v1/voice/numbers \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"number": 123,
"voice_account_id": "<string>",
"inbound_agent_id": "<string>",
"sip_config": "<string>",
"disallowed_countries": "<string>",
"team_id": "<string>",
"voice_provider": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Array of NumberResource
The response is of type object
.