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 SIP Trunks
      • POSTCrear SIP Trunk
      • GETObtener SIP Trunk
      • DELEliminar SIP Trunk
      • PATCHActualizar SIP Trunk
Logo
API ReferenceSip Trunks

Obtener SIP Trunk

GET
https://nebrijaai.com/api/v1/sip-trunks/:id
GET
/api/v1/sip-trunks/:id
$curl https://nebrijaai.com/api/v1/sip-trunks/id \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json"
1{
2 "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
3 "name": "Trunk Principal Madrid",
4 "gateways": [
5 {
6 "ipOrDomain": "sip-gateway.madrid.telecom.com",
7 "port": 5060,
8 "name": "Gateway Madrid Central"
9 }
10 ],
11 "authentication": {
12 "username": "madrid_trunk_user",
13 "password": "********"
14 },
15 "advanced": {
16 "dtmfMode": "rfc2833",
17 "codecPriority": [
18 "G711",
19 "G729"
20 ]
21 },
22 "isSystem": false,
23 "providerId": "livekit-987654321",
24 "createdAt": "2024-01-15T09:30:00Z",
25 "updatedAt": "2024-01-15T09:30:00Z"
26}

Devuelve los detalles de un SIP Trunk específico. La contraseña se devuelve enmascarada.

Was this page helpful?
Previous

Eliminar SIP Trunk

Next
Built with

Authentication

AuthorizationBearer

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

Path parameters

idstringRequiredformat: "uuid"

Response

Detalles del SIP Trunk.
idstringformat: "uuid"
namestring
gatewayslist of objects
authenticationobject
advancedobject

Configuración avanzada del trunk.

isSystemboolean

Indica si es un trunk del sistema (no modificable/eliminable).

providerIdstring

ID del trunk en el proveedor externo (LiveKit).

createdAtdatetime
updatedAtdatetime

Errors

404
Not Found Error