GET
/
numbers
/
{id}
curl --request GET \
  --url https://app.happyrobot.ai/api/v1/numbers/{id} \
  --header 'authorization: <authorization>'
{
  "id": "<string>",
  "organization_id": "<string>",
  "number": "+14155552671",
  "sid": "<string>",
  "locality": "San Francisco",
  "mode": "direct_transfer",
  "use_case_config": {
    "id": "<string>",
    "prompt_routes": [
      {
        "probability": 50,
        "prompt_id": "<string>",
        "model_id": "<string>"
      }
    ],
    "agent_routes": [
      {
        "probability": 50,
        "id": "<string>"
      }
    ]
  },
  "title": "<string>"
}

Headers

authorization
string
required

Your API key for authentication. Use Bearer format.

Example:

"Bearer API_KEY"

Path Parameters

id
string
required

ID of the number.

Required string length: 24

Response

200
application/json

200

The response is of type object.