Phone numbers

Get phone number by ID

Retrieve a specific phone number by its ID

GET
/phone-numbers/{id}
Authorization<token>

API key in the format: Bearer YOUR_API_KEY

In: header

Path Parameters

idstring

Phone number ID

Formatuuid

Response Body

application/json

application/json

curl -X GET "https://api.chorus-ai.co/v1/phone-numbers/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "data": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "string",
    "number": "string",
    "provider": "twilio",
    "sipMode": "registration",
    "agentId": "bc309ecf-5f66-4057-93c5-6611cc9cb7b2",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z"
  }
}
{
  "error": "string",
  "details": [
    {}
  ]
}

Last updated on