SIP Trunks
Rotate a registration trunk's SIP password
Generates a new SIP password for a registration trunk, keeping the same username. This is the only recovery path for a lost password: CallNode stores a non-reversible digest, never the plaintext.
The new password is returned once, in sipPassword. The previous password stops working within about a minute, so update your PBX promptly — it will need to re-register.
post/api/v1/trunks/{id}/rotate-credentials
Request
- Base URL: https://api.callnode.io
- URL: https://api.callnode.io/api/v1/trunks/{id}/rotate-credentials
- Auth: API key in header X-Api-Key and API key in header X-Timestamp and API key in header X-Signature
Response
New credentials. sipPassword appears only in this response.
Example response
{
"id": "cmb1xk2p40001abcd1234wxyz",
"registration": {
"username": "cnk4m8xq2z7pd",
"domain": "sip.callnode.io",
"server": "sip.callnode.io:5061"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.