For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
    • Welcome
  • API Reference
      • GETListar Números de Teléfono
      • GETObtener Número de Teléfono
      • PATCHActualizar Número de Teléfono
Logo
API ReferencePhone Numbers

Actualizar Número de Teléfono

PATCH
https://nebrijaai.com/api/v1/phone-numbers/:id
PATCH
/api/v1/phone-numbers/:id
$curl -X PATCH https://nebrijaai.com/api/v1/phone-numbers/id \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json" \
> -d '{}'
200Updated
1{
2 "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
3 "number": "+34911234567",
4 "label": "Soporte Técnico",
5 "type": "mobile",
6 "sipTrunkId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
7 "assistantId": "1c6b147e-8f3a-4d2a-9f3e-2a1b5e4c9d3f",
8 "isPlatformNumber": false,
9 "createdAt": "2024-01-15T09:30:00Z",
10 "updatedAt": "2024-01-15T09:30:00Z"
11}
Actualiza la etiqueta, el SIP Trunk asignado o el asistente entrante.
Was this page helpful?
Previous

Consultar Analíticas

Next
Built with

Authentication

AuthorizationBearer

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

Path parameters

idstringRequiredformat: "uuid"

Request

This endpoint expects an object.
labelstringOptional

Etiqueta descriptiva del número.

sipTrunkIdstringOptionalformat: "uuid"
ID del SIP Trunk para llamadas salientes.
inboundobjectOptional

Response

Número actualizado.

idstringformat: "uuid"
numberstring

Número en formato E.164 (ej: +34911234567)

labelstring
typestring
sipTrunkIdstringformat: "uuid"
assistantIdstringformat: "uuid"
isPlatformNumberboolean
createdAtdatetime
updatedAtdatetime