SIP Registration Status
Returns the live SIP registration status for a Telnyx endpoint: whether it is currently registered, when the current registration expires, and the last response Telnyx received from the registrar.
The endpoint supports three credential types, selected with the credential_type query parameter. Each type is keyed by a different identifier:
credential_type | Keyed by | Use case |
|---|---|---|
uac_external_credential | connection_id | A UAC (SIP attach) connection that registers to an external PBX. |
telephony_credential | username | An ephemeral, one-time-use telephony credential. |
sip_credential_connection | username | A traditional SIP credential connection that registers directly to Telnyx. |
The authenticated account is taken from your API key; you can only read the registration status of connections and credentials your account owns.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
The kind of credential to look up. uac_external_credential is keyed by connection_id; telephony_credential and sip_credential_connection are keyed by username.
uac_external_credential, telephony_credential, sip_credential_connection Identifier of the UAC connection to look up. Required when credential_type is uac_external_credential.
SIP username to look up. Required when credential_type is telephony_credential or sip_credential_connection.
Response
Registration status payload
Identifier of the connection associated with the credential.
Human-readable connection name.
The credential type that was looked up.
uac_external_credential, telephony_credential, sip_credential_connection SIP username used for the registration.
True if the endpoint is currently registered.
Human-readable registration status derived from the registrar state.
unregistering, connection_disabled, standby, failed, trying, registered, unknown SIP response from the last registration attempt.
"200 OK"
Detailed registration information reported by the registrar. The populated fields depend on credential_type: UAC external credentials report auth_retries, uptime, next_action_at, failures, and sip_uri_user_host; telephony credentials and SIP credential connections report ua_ip, ua_port, transport, and last_modified. All types report expires.