GET
/
purchased-phone-numbers
curl --request GET \
  --url https://api.daily.co/v1/purchased-phone-numbers \
  --header 'Authorization: Bearer <token>'
{
  "numbers": [
    {
      "id": "0cb313e1-211f-4be0-833d-8c7305b19902",
      "number": "+18058700061"
    },
    {
      "id": "1bc21de4-341f-5af0-944e-5a730b220303",
      "number": "+14155552671"
    }
  ]
}

List all the numbers owned by your domain. The numbers returns a name associated to the number and an id. The id can be used as the callerId in dial-out.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json
A list of purchased phone numbers.
numbers
object[]