Phone Numbers

Update a number's configuration

Provisions or updates the voice webhook (your AI agent endpoint), the messaging webhook, their authentication, and the friendly name. Only the fields you send change; webhook secrets are write-only and never echoed back (responses report valueSet: true instead).

patch/api/v1/numbers/{id}

Request

  • Base URL: https://api.callnode.io
  • URL: https://api.callnode.io/api/v1/numbers/{id}
  • Auth: API key in header X-Api-Key and API key in header X-Timestamp and API key in header X-Signature

Request body

friendlyNamestring
tagsstring[]

Your own labels for the number. Trimmed, de-duplicated case-insensitively, returned on every number, filterable on the dashboard. PATCH replaces the whole list; send [] to clear.

Example request

{
  "tags": [
    "support",
    "east-coast"
  ]
}

Response

The updated number.

Example response

{
  "number": {
    "id": "cmpxeh9o60002pp4h7oznictb",
    "phoneNumber": "+16135551234",
    "status": "active",
    "tags": [
      "support",
      "east-coast"
    ],
    "monthlyRate": 1.99,
    "perMinuteRate": 0.02
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.