Get the SMS integration
curl --request GET \ --url https://example.com/api/v1/sms/settings \ --header 'Authorization: Bearer <token>'Returns the workspace’s own SMS provider account (never its API key), the sender and its messaging profile, the texting, incoming-texts and replies switches, and how many people sign in with a texted code. The account itself is saved in Settings, Integrations, SMS. Requires settings.manage.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The SMS settings.
object
The workspace’s own SMS provider account and its switches, without the secret.
object
True once a Telnyx account is saved.
Incoming texts open or add to tickets (Tickets module).
Texting is on: sign-in codes, incoming texts and ticket replies go out only while it is.
The Telnyx messaging profile the sender belongs to, or null while none is saved; absent on an older server. The API key is never returned.
Replies on tickets that came in by text go back by text (Tickets module).
The E.164 phone, or the messaging profile ID whose numbers texts go out from, or null while none is saved.
How many active people sign in with a texted code (the SMS second factor).
Example
{ "data": { "provider": "TELNYX", "senderKind": "phone" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC