To text customers from Retool, create a REST API resource that points at https://api.tryready.com, put your API key in an X-API-Key header on the resource, and add a query that calls POST /v1/messages with the customer's number, the message and consent_attested. A button on your app runs the query. Replies come back the other way, through an account webhook that lands in a small endpoint or a workflow you control.

Ready doesn't have a native Retool connector, and you don't need one. A REST resource plus two or three queries covers the send, the status check and the reply view. This post is for the developer or ops engineer who builds internal tools and wants support or operations staff to text a customer without leaving the admin panel. We'll build the resource, write the send query, handle consent, make double-clicks harmless with an idempotency key, and show replies in the same app.

What you need before you build

You need four things in place, and the first one is the easiest to skip.

  • A Ready account with a registered number. Texting US numbers needs registration, which is explained in what 10DLC is and why carriers require it.
  • An API key from your Ready account. Treat it like a password.
  • A Retool workspace where you can create resources, or an admin who can create one for you.
  • A place in your own data where consent lives. Ready stores no per-contact consent record, so your customer table, CRM or signup form has to say who agreed to texts and to what.

If your internal tool serves your own customers, the account you're sending from is probably your primary one. If your platform texts on behalf of many businesses, each business gets its own sub-account, and the tool needs to know which one a given staff member is acting for. We'll come back to that near the end.

Create the REST API resource

Retool keeps connection details in a resource so that queries don't carry secrets. Create a new resource of the REST API type and fill it in like this.

SettingValue
NameReady messaging
Base URLhttps://api.tryready.com
HeadersX-API-Key with your key as the value
HeadersContent-Type with application/json

Put the key in the resource headers and nowhere else. A key typed into a query or a text input ends up in app history and screenshots. In the resource, it stays on the connection. Check Retool's documentation for how your plan stores resource secrets and which permission groups can edit the resource, then limit editing to the few people who administer the tool. Anyone who can edit the resource can read where the key goes.

Use a key made for this tool, not the one your production backend uses. If a staff member leaves or the tool is retired, you can rotate that one key without touching anything else. Our post on API key security and rotation covers a rotation routine that doesn't cause downtime.

Build the send query

Add a query that uses the Ready messaging resource. Set the method to POST and the endpoint to /v1/messages. In the body, choose raw JSON and write the three fields:

{
  "to": "{{ phoneInput.value }}",
  "body": "{{ messageInput.value }}",
  "consent_attested": {{ consentCheck.value }}
}

The double-brace expressions are Retool's own bindings to your components, so rename them to match yours. The to value is E.164, such as +12125550199. A 10-digit US number is treated as +1, but staff paste numbers in every shape, so clean the value in the input component first. Our post on E.164 formatting for SMS APIs has patterns for that.

Two small details matter in a tool people use all day. First, a message typed by hand can contain a double quote or a line break, and a hand-assembled JSON string will break on either. Use Retool's JSON body option, or build the object in a JavaScript step with JSON.stringify, so values are escaped for you. Second, set the query to run only when a button is clicked, not on page load. A send query that runs when the page opens will text somebody every time the app refreshes.

Leave from out of the body for ordinary replies. Ready picks the number: the one this contact already texts with, otherwise your primary number. That keeps a conversation on one number, which is what a customer expects.

Handle consent_attested as a real check

The consent_attested field is your statement that the recipient agreed to texts. In an internal tool the temptation is to hard-code true so the button always works. That attests to nothing, and it leaves a record that says otherwise.

Make it a check the app performs:

  1. Load the customer record that the staff member is looking at, including your own consent field.
  2. Disable the Send button unless that field says the customer agreed to texts, and show why next to the button.
  3. Pass true in the request only because that check passed. For a customer who hasn't agreed, don't send at all.

An API send without consent_attested still goes out for now, with a warning and Deprecation and Sunset headers naming January 20, 2027 (UTC). Don't build around that. Ready refuses an account's sends without the flag only after telling that account, so you'd get notice, but a tool written to attest properly never has to care.

Consent also has a scope. A customer who agreed to appointment reminders hasn't agreed to promotions, and a support agent typing freehand can drift from one into the other. If your data records what the customer agreed to, show it beside the message box. Our post on what a consent record should hold lists the fields worth keeping. The attestation is never a per-contact consent record on Ready's side, so the evidence has to live in your database.

Make double-clicks harmless with an idempotency key

Staff double-click. A person who sees a slow response clicks again, and a flaky network can make the first request look like it failed when it didn't. Without protection, the customer gets two texts.

Ready accepts an Idempotency-Key header, one UUID per message. If a request with the same key arrives again, Ready replays the first answer and sends nothing new. In a Retool app, the point is when you create the key:

  • Generate a UUID when the staff member starts a new message, for example when they open the compose panel or clear the box, and keep it in a temporary state variable.
  • Send that same value in the Idempotency-Key header on every click of Send for that message.
  • Replace it with a new UUID after a successful send, so the next message gets its own.

Don't generate the key inside the send query itself. A new random value on every run turns each click into a new message, which is exactly what the header exists to prevent.

Reuse a key only to retry a request that got no answer, such as a timeout or a dropped connection, or after a 409 with idempotency_in_progress. If a request returns a 5xx, don't resend with the same key: Ready stores that answer under the key and replays it. Check GET /v1/messages to see whether the text exists, and if it doesn't, send again with a new key. The reasoning is laid out in idempotency keys for SMS sends.

Quiet hours and other refusals

Staff will occasionally hit a refusal, and the tool should say what happened instead of showing raw JSON. Texts to a contact in their quiet hours are held when the window opens within 24 hours. Otherwise the API answers 409 with QUIET_HOURS_BLOCK, and the sender sends again once the window opens. A contact who texted your number within the last 24 hours can be answered at any hour, so a reply to an inbound message goes through.

Other refusals are worth a friendly line too: a contact who opted out, a number on your Ban list, or a landline. Opt-outs and Ban list numbers are refused up front and aren't charged. Show the error code in a small status area under the button, and let the Retool query's failure handler set it. The post on designing pre-send refusal messages goes through wording for each case.

A sent segment costs $0.0075 plus a $0.0045 carrier fee, and the rate excludes screening. A message longer than 160 characters splits into segments of 153, and each segment is billed, so a counter beside the message box earns its place in an internal tool.

Read replies in the same app

Sending is half of a support conversation. For the other half you have two options, and they suit different teams.

Option 1: poll the message list

A table component backed by a query on GET /v1/messages shows recent messages, and before_id pages back through history. It's the quickest thing to build and it needs no public endpoint. The cost is that staff must refresh to see a new reply. If you go this way, set a modest refresh interval on the query instead of running it every second.

Option 2: webhook into your own store

Add an account webhook in Ready that points at a URL you control. Ready posts JSON shaped as {event, timestamp, data}. Choose the inbound-message event when you add it, and look at a test delivery before you write any parsing, because the exact fields in data are best read from a real payload. Docs for webhooks are at the webhooks reference.

The receiving end can be a Retool Workflow with a webhook trigger, or a small endpoint on your own server. Either way, it should write each reply to a table that your Retool app reads. Three habits keep it healthy:

  • Dedupe on the X-Ready-Event-Id header. It's the same on every retry of an event, so a repeated delivery doesn't create a second row.
  • Verify the signature when the webhook has a signing secret. Ready sends X-Signature: sha256=<hex>, plus X-Ready-Timestamp and X-Ready-Signature-V2. Refuse a timestamp more than 5 minutes off. The details are in our post on webhook signing.
  • Answer quickly. Write the row, return a 200, and do the rest afterwards.

A reply that says STOP, or one of the other opt-out words, opts the contact out in Ready before it reaches your tool. Show that state on the customer's record, and have the Send button respect it. You can check one number with GET /v1/opt-outs/:phone before a send from any tool that isn't reading the opt-out in real time.

If you text for many businesses

A platform that texts on behalf of its customers keeps each customer in a sub-account with its own numbers and registration. A support tool for that platform needs one extra rule: the staff member sends as the business they're helping, never as the platform in general. Keep the sub-account choice in the app's state, show it next to the message box, and check the sub-accounts docs at the sub-accounts reference for how to scope a request. Our post on multi-tenant SMS architecture explains why mixing senders is the mistake worth designing against.

A short checklist before you ship the app

  • The API key lives in the resource headers, and the resource has limited editors.
  • The Send button is disabled unless your own consent field says yes.
  • The Idempotency-Key is created once per message, not once per click.
  • The send query runs on a click only.
  • Refusals show a plain sentence next to the button.
  • Replies are written to a table, deduped on the event id.
  • Staff know not to put PHI, such as diagnoses or test results, in a text.

That's most of it. Retool gets you a working compose panel in an afternoon, and the care goes into the three places a tool is easy to get wrong: consent, repeats and replies. When you're ready to try it, sign up at tryready.com/signup, register your business, and run the send query against a number you control first.

Accounts opened before 17:55 UTC on November 12, 2026 keep their signup prices, shown under Billing, and so do the sub-accounts they open.

Frequently asked questions

Does Retool have a native Ready integration?

No. Ready doesn't have a native Retool connector, so you use Retool's REST API resource and call POST /v1/messages directly. The resource holds the base URL and the X-API-Key header, and each query sets the body.

Where should I store the API key in Retool?

In the headers of the REST API resource, not in a query, a text input or a temporary state variable. Limit who can edit the resource, and use a key made for this tool so you can rotate it on its own.

Can staff text a customer who hasn't opted in?

The tool shouldn't let them. Disable the Send button unless your consent field says the customer agreed, and pass consent_attested as true only because that check passed. Ready doesn't store a per-contact consent record, so your own data is the evidence.

How do I stop a double-click from sending two texts?

Create one UUID per message when the staff member starts it, and send that same value in the Idempotency-Key header on every click. Create a new one after a successful send. Don't generate the key inside the send query.

How do replies reach my Retool app?

Add an account webhook that points at a Retool Workflow or your own endpoint, write each reply to a table, and have the app read the table. A simpler start is a table backed by GET /v1/messages, which staff refresh to see new replies.