Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const accessIPAddressResponse = await client.accessIPAddress.retrieve('access_ip_address_id');
console.log(accessIPAddressResponse.id);{
"id": "<string>",
"ip_address": "<string>",
"source": "<string>",
"status": "pending",
"description": "<string>",
"user_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const accessIPAddressResponse = await client.accessIPAddress.retrieve('access_ip_address_id');
console.log(accessIPAddressResponse.id);{
"id": "<string>",
"ip_address": "<string>",
"source": "<string>",
"status": "pending",
"description": "<string>",
"user_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?