Skip to main content
Everything on the Settings → Fallbacks page is available here, so backup SMS can be set up entirely over the API without opening the dashboard.A backup text goes out when iMessage cannot deliver, for two separate reasons: the send failed technically, or the recipient has no iMessage. Both use the same destination.

Authentication

Body parameters

string
none, ghl, twilio or telnyx.
string
E.164. The number backup texts are sent from, and where replies come back to.
boolean
default:"false"
Send on your own Telnyx account instead of Tuco’s, keeping the number, the 10DLC registration and the billing under your brand.
string
Write only. Telnyx portal → Account → API Keys.
string
Write only. Telnyx portal → Account → Public Key. Without it, replies from your leads are rejected as unverified.
boolean
Also fall back on a technical send failure, not only when the recipient has no iMessage.
string
reschedule or fallback — what to do when the line hits its daily cap.
Credentials are never returned. GET reports only telnyxHasOwnApiKey and telnyxHasOwnPublicKey, which say whether one is stored and nothing more. Omitting a credential leaves the stored one untouched, so you can change the number without re-sending keys. Setting telnyxUseOwnAccount to false deletes them.

Examples

Response

Using your own Telnyx account

Both keys are required together. The API key is checked with Telnyx before anything is stored, including that telnyxFromNumber is a number on that account — so a wrong key fails here rather than the first time a text needs to go out. Replies only reach you once Telnyx knows where to send them. In Telnyx, go to Messaging → Messaging Profiles → your profile → Inbound Settings, set the Webhook URL to:
and set API version to 2. The URL is the same for everyone; replies are matched to you by telnyxFromNumber.

Error responses

Send a test

Sends a real text through the saved settings, so it proves the credentials and the number together. It reads what is stored, so save first.
details.account tells you which account it actually went out on, so you can confirm you are on your own rather than Tuco’s.