Create a new SIP credential
Issues a new SIP credential for a softphone or desk phone. Returns the plaintext password exactly once; save it immediately as it is not recoverable. The credential is identified by a user-friendly label and a generated username. Configure your SIP client with the username, password, realm, and edge host returned in the response. Admin or owner only.
Authorizations
Dashboard JWT token from Clerk
Headers
Stripe-style idempotency token. Pass a stable, client-generated value (1-255 chars) to dedupe retries on transient timeouts. The same key+credential+path replays the original response for 24h on 2xx (5min on 4xx, 30s on 5xx). Returns 409 if a concurrent request with the same key is already in flight; replayed responses include the Idempotency-Replay: true response header.
1 - 255Sandbox opt-in for Clerk-session-authenticated requests. Set to true to route the call through the test-mode pipeline: no real provider delivery, no credits deducted, response meta.test_mode: true. Ignored for live API keys (dv_live_sk_*) — server-to-server clients must use a test-prefixed key (dv_test_sk_*) to exercise sandbox. Test-prefixed keys unconditionally enable sandbox regardless of this header.
true, false Body
Credential settings. label is the only required field — everything else has a platform default. Bounds are validated by the endpoint and reported as a 422 naming the field.
Credential settings. label is the only required field — everything else has a platform default. Bounds are validated by the endpoint and reported as a 422 naming the field.
Required. Device label, 1-32 characters. Lowercased and slugified into the SIP username (<org-prefix>-<label>), which stays stable across password rotations.
Internal extension, 2-8 characters of digits, * or #. Unique per organization.
Whether the device may place outbound calls. Defaults to true.
How the From: number is chosen on outbound calls: fixed always uses defaultCallerIdE164, pick_from_owned lets the device send any number you own, inherit_org uses the organization default. Defaults to fixed.
fixed, pick_from_owned, inherit_org E.164 number presented as the caller ID, for example +14155550123. Must be a number your organization owns, otherwise the request is rejected with 403.
Daily outbound spend ceiling for this device, in cents (0-100000). Omit for no cap.
ISO 3166-1 alpha-2 country codes this device may not dial, for example RU or KP. Up to 50 entries.
Maximum simultaneous calls for this device (1-100). Omit for no cap.
ISO 8601 timestamp after which the credential stops authenticating, for example 2027-01-31T00:00:00Z. Useful for contractor or seasonal devices.
Create the device in do-not-disturb, so inbound calls skip it. Defaults to false.
Pin media to a single codec instead of negotiating. Leave unset unless the handset misbehaves during negotiation.
PCMU, PCMA, OPUS, G722, AMR-WB Always record inbound calls to this device.
Always record outbound calls from this device.
SIP username in the same organization that inbound calls ring when this device is busy.
SIP username in the same organization that inbound calls ring when this device does not answer.
SIP username in the same organization that inbound calls ring when this device is not registered.
Source IP allow-list in CIDR notation, up to 20 entries. Omit to accept registrations from any address.
Lock the credential to one SIP User-Agent string, for example Bria 6. Registrations from any other client are refused.
4-8 digit passcode the handset must key in on the *97 voicemail dial-in. Stored hashed and never returned; the read endpoints only report whether one is set.
Free-text note kept with the credential, up to 1000 characters.
Response
The created credential with the plaintext password (shown once), connection details (sip_server, sip_realm, sip_port_tls, sip_port_tcp), and metadata inside the standard { data, meta } envelope.
The created credential with the plaintext password (shown once), connection details (sip_server, sip_realm, sip_port_tls, sip_port_tcp), and metadata inside the standard { data, meta } envelope.