Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
Telnyx SIP connections support multiple authentication methods based on network topology and security requirements.
Methods
| Method | Description | Details |
|---|
| Credential-based | Username/password for SIP registration | See below |
| IP + Token | X-Telnyx-Token header with IP validation | Separate page |
| IP + Tech Prefix | 4-digit prefix prepended to dial string | Separate page |
| IP + P-Charge-Info | Phone number in P-Charge-Info header | See below |
| FQDN | Hostname-based inbound routing | See below |
Credential-based authentication
Username and password for SIP registration.
POST /v2/credential_connections
{
"connection_name": "my-connection",
"user_name": "username",
"password": "secure-password"
}
For WebRTC applications requiring dynamic credentials or JWT tokens, see WebRTC Authentication.
P-Charge-Info authentication
SIP header containing a phone number associated with the connection.
P-Charge-Info: <sip:+12125551234@sip.telnyx.com>
Requires E.164 format. The number must be assigned to the connection.
FQDN authentication
Hostname-based inbound routing combined with credentials or IP authentication for outbound.
| Inbound | Outbound |
|---|
| FQDN | Credentials |
| FQDN | IP address |
Comparison
| Method | Inbound | Outbound | Dynamic IP | Static IP |
|---|
| Credentials | ✓ | ✓ | ✓ | ✓ |
| IP + Tech prefix | ✓ | ✓ | - | ✓ |
| IP + Token | ✓ | ✓ | - | ✓ |
| IP + P-Charge-Info | ✓ | ✓ | - | ✓ |
| FQDN + Credentials | ✓ | ✓ | ✓ | ✓ |
| FQDN + IP | ✓ | ✓ | - | ✓ |