PATCH
/
numbers
/
{id}
/
title
curl --request PATCH \
  --url https://app.happyrobot.ai/api/v1/numbers/{id}/title \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "title": "<string>"
}'
{
  "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

Body

application/json

Body

The body is of type object.

Response

200
application/json

200

The response is of type object.