API Reference
SIP Credentials

Rotate (replace) the password for a SIP credential

POST
/v1/numbers/{id}/sip-credentials/{credential_id}/rotate

Generates a fresh random password for the credential. The new plaintext is returned once; the previous password stops working immediately. Caller must have writer access to the workspace.

Authorization

bearerAuth
AuthorizationBearer <token>

Long-lived ES256 JWT minted from the dashboard (https://app.sautikit.com/developers/api-keys). Signed by the platform keyring. Carries workspace_id and scopes claims; revoked via the platform deny-list.

In: header

Path Parameters

id*string

Tenant number UUID.

Formatuuid
credential_id*string

SIP credential UUID.

Formatuuid

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/numbers/497f6eca-6276-4993-bfeb-53cbbbba6f08/sip-credentials/497f6eca-6276-4993-bfeb-53cbbbba6f08/rotate"
{  "password": "string",  "display_once": true,  "rotated_at": "2019-08-24T14:15:22Z"}
{  "error": {    "code": "validation.bad_request",    "message": "string",    "request_id": "string"  }}