Skip to main content
POST
/
credential_connections
/
{id}
/
actions
/
check_registration_status
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

const response = await client.credentialConnections.actions.checkRegistrationStatus('id');

console.log(response.data);
{
  "data": {
    "data": {
      "record_type": "registration_status",
      "status": "Expired",
      "sip_username": "rogerp",
      "ip_address": "190.106.106.121",
      "transport": "UDP",
      "port": 37223,
      "user_agent": "Z 5.4.12 v2.10.13.2-mod",
      "last_registration": "2021-09-28T15:11:02",
      "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Identifies the resource.

Response

Successful response with details about a credential connection registration status.

data
object
Example:
{
"data": {
"record_type": "registration_status",
"status": "Expired",
"sip_username": "rogerp",
"ip_address": "190.106.106.121",
"transport": "UDP",
"port": 37223,
"user_agent": "Z 5.4.12 v2.10.13.2-mod",
"last_registration": "2021-09-28T15:11:02",
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58"
}
}