Pular para o conteúdo principal
GET
/
api
/
v1
/
sip-trunks
/
{trunk_id}
/
dids
curl "https://app.talkover.ai/api/v1/sip-trunks/trunk-uuid-1/dids" \
  -H "Authorization: Bearer talq_your_environment_token_here"
{
  "success": true,
  "data": [
    {
      "id": "phone-uuid-1",
      "number": "+15551234567",
      "country_code": "US",
      "formatted_number": "(555) 123-4567"
    },
    {
      "id": "phone-uuid-2",
      "number": "+15559876543",
      "country_code": "US",
      "formatted_number": "(555) 987-6543"
    }
  ]
}

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.

Listar DIDs do SIP Trunk

Lista os DIDs (números de Direct Inward Dialing) associados a um SIP Trunk. DIDs são os números de telefone que roteiam por este trunk para chamadas inbound e/ou outbound.

Endpoint

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

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/dids" \
  -H "Authorization: Bearer talq_your_environment_token_here"

Resposta

{
  "success": true,
  "data": [
    {
      "id": "phone-uuid-1",
      "number": "+15551234567",
      "country_code": "US",
      "formatted_number": "(555) 123-4567"
    },
    {
      "id": "phone-uuid-2",
      "number": "+15559876543",
      "country_code": "US",
      "formatted_number": "(555) 987-6543"
    }
  ]
}

Observações