Pular para o conteúdo principal
GET
/
api
/
v1
/
sip-trunks
/
{trunk_id}
curl "https://app.talkover.ai/api/v1/sip-trunks/trunk-uuid-1" \
  -H "Authorization: Bearer talq_your_environment_token_here"
{
  "success": true,
  "data": {
    "id": "trunk-uuid-1",
    "name": "Primary Carrier — US",
    "provider_name": "carrier-x",
    "domain": "sip.carrier-x.com",
    "username": "user_42",
    "transport": "tls",
    "port": 5061,
    "outbound_proxy": null,
    "auth_realm": null,
    "is_active": true,
    "is_verified": true,
    "health_status": "healthy",
    "last_health_check_at": "2024-01-15T14:30:00Z",
    "created_at": "2024-01-01T10:00:00Z",
    "updated_at": "2024-01-15T14:30:00Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.talkover.ai/llms.txt

Use this file to discover all available pages before exploring further.

Obter SIP Trunk

Recupera a configuração e status completos de um SIP Trunk.

Endpoint

GET /api/v1/sip-trunks/{trunk_id}

Parâmetros de Caminho

trunk_id
string
obrigatório
UUID do SIP Trunk.

Cabeçalhos da Requisição

Authorization
string
obrigatório
Token Bearer para autenticação. Formato: Bearer talq_your_environment_token_here

Exemplos

curl "https://app.talkover.ai/api/v1/sip-trunks/trunk-uuid-1" \
  -H "Authorization: Bearer talq_your_environment_token_here"

Resposta

{
  "success": true,
  "data": {
    "id": "trunk-uuid-1",
    "name": "Primary Carrier — US",
    "provider_name": "carrier-x",
    "domain": "sip.carrier-x.com",
    "username": "user_42",
    "transport": "tls",
    "port": 5061,
    "outbound_proxy": null,
    "auth_realm": null,
    "is_active": true,
    "is_verified": true,
    "health_status": "healthy",
    "last_health_check_at": "2024-01-15T14:30:00Z",
    "created_at": "2024-01-01T10:00:00Z",
    "updated_at": "2024-01-15T14:30:00Z"
  }
}

Observações

  • O campo password é write-only e nunca é retornado.
  • Use Obter Saúde do SIP Trunk para a verificação de saúde mais recente em tempo real.