List SIP trunks
sip-trunks:readAuthenticationReturns the workspace's SIP trunks in deterministic reverse-creation order. Raw provider error bodies are never returned to API keys; use last_error_code and last_error for recovery decisions.
bearerAuthAuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
cursor?stringOpaque pagination cursor from a previous response's next_cursor.
limit?integerNumber of catalog resources to return. The server fetches one extra row internally to produce next_cursor.
1 <= value <= 20050q?stringCase-insensitive literal substring search across slug, name, and description. The supplied and trimmed values must each contain 1–200 Unicode characters; blank values and every Unicode control character are rejected. Percent, underscore, and backslash are literal characters, not LIKE syntax.
1 <= length <= 200created_from?stringInclusive created_at lower bound as RFC3339 or YYYY-MM-DD (midnight UTC).
created_to?stringExclusive created_at upper bound as RFC3339 or YYYY-MM-DD (midnight UTC). Must be after created_from.
archived?stringWhether archived resources are excluded, included alongside active resources, or returned exclusively.
"exclude""exclude""include""only"status?stringExact status filter. status=archived requires archived=include or archived=only.
"provisioning""active""error""archived"provider?stringsip uses customer-managed carrier/PBX configuration; twilio_automated provisions Twilio resources from stored account credentials.
"sip""twilio_automated"sip_signaling_mode?string"static_peer""registered_peer""remote_registered_peer"A page of SIP trunks. next_cursor is null when the page is terminal.
application/json- response
data*array<>next_cursor*string|nullcurl -X GET 'https://api.kejue.co/v1/sip-trunks'{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "provider": "sip", "sip_signaling_mode": "static_peer", "inbound_auth_mode": "ip_allowlist", "inbound_allowed_addresses": [ "string" ], "outbound_address": "string", "outbound_transport": "udp", "outbound_auth_mode": "ip_allowlist", "has_credentials": true, "registrar_username": "string", "registrar_domain": "string", "registration_status": "not_applicable", "registration_contact": "string", "last_register_at": "2019-08-24T14:15:22Z", "registration_expires_at": "2019-08-24T14:15:22Z", "registration_checked_at": "2019-08-24T14:15:22Z", "remote_registrar_address": "string", "remote_registrar_domain": "string", "remote_register_realm": "string", "remote_register_username": "string", "remote_registrar_transport": "udp", "remote_register_expires_seconds": 0, "livekit_inbound_trunk_id": "string", "livekit_outbound_trunk_id": "string", "status": "provisioning", "last_error": "string", "last_error_code": "string", "archived_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "inbound_allowed_numbers": [ "string" ], "inbound_media_encryption": "disable", "inbound_ringing_timeout_ms": 0, "inbound_max_call_duration_ms": 0, "inbound_headers": { "property1": "string", "property2": "string" }, "inbound_headers_to_attributes": { "property1": "string", "property2": "string" }, "inbound_attributes_to_headers": { "property1": "string", "property2": "string" }, "inbound_include_headers": "none", "outbound_metadata": "string", "outbound_destination_country": "string", "outbound_media_encryption": "disable", "outbound_from_host": "string", "outbound_headers": { "property1": "string", "property2": "string" }, "outbound_headers_to_attributes": { "property1": "string", "property2": "string" }, "outbound_attributes_to_headers": { "property1": "string", "property2": "string" }, "outbound_include_headers": "none", "outbound_allowed_prefixes": [ "string" ], "outbound_allowed_sip_hosts": [ "string" ], "pcap_enabled": true, "outbound_capacity_mode": "unknown", "max_concurrent_outbound": 0, "max_outbound_cps": 0, "outbound_cps_burst": 0, "outbound_capacity_profile_id": "02bf7876-e473-45bd-8a48-0a573b361197", "outbound_via_proxy": true } ], "next_cursor": "string"}