An SMS API lets your accounting or invoicing product text an invoice-sent notice or a payment reminder when an event fires, and the part that takes real design is the multi-firm setup: each firm that uses your product is its own sender, so each one needs its own sub-account, its own numbers and its own 10DLC registration.
We make Ready, so we have a stake here. This guide covers which texts to send, how to split consent between service texts and marketing texts, how to structure sub-accounts per firm, and the request shapes you need.
Which texts accounting software sends
Most invoicing texts are transactional: they tell a person about something they already have with the firm. The common four:
- Invoice sent. A short text with the amount and a pay link, sent when the firm issues the invoice.
- Payment reminder. A nudge a few days before the due date and another after it passes.
- Payment received. A one-line receipt so the client knows it landed.
- Document request. A prompt asking a client to upload a receipt or sign an engagement letter.
Keep each one short enough for a single segment where you can. Segments are billed, and a 160-character GSM-7 limit shrinks to 70 with one emoji, so skip emoji in money texts. For wording ideas, see our invoice and payment text templates and the payment reminder message guide.
Service texts and marketing texts need different consent
Informational texts about an existing invoice and promotional texts are not the same thing legally, and your product should treat them differently. As a general rule in US practice, informational texts need the recipient's prior express consent, while marketing texts need prior express written consent. Giving a firm your phone number on an engagement form is not the same as agreeing to promotions.
That gives you two switches per contact in your data model:
| Text type | Examples | What you record |
|---|---|---|
| Service | Invoice sent, reminder, receipt | That the client gave the number for account updates, and when |
| Marketing | Tax-season promo, new service offer | Written agreement to promotions, with the wording shown |
Mixing the two is the common mistake: a promo that rides on a reminder text puts the whole message in the marketing bucket. Keep them separate. Our guides on prior express written consent vs implied consent and the consent record schema go deeper. Compliance is the sender's responsibility, and none of this is legal advice.
Where consent lives in Ready
Ready stores no per-contact consent for API sends. The firm keeps the opt-in in its own form or in your product, and you pass consent_attested: true on each send as your promise that the recipient agreed to texts. Ready records that attestation (who sent, to how many, when) as an audit trail. An API send without it still goes out today, with a warning and Deprecation and Sunset headers naming January 20, 2027 (UTC), so build the field in now. One exception to the rule: a sign-up on a Ready-hosted opt-in page is stored per contact, with the time, IP and exact wording. (Support at support@tryready.com can send a copy.)
One sub-account per firm
An accounting platform usually has hundreds of firms, and each one is a different legal sender with its own name and EIN. Registration is per customer: a brand and its first campaign, then a separate monthly charge for each extra campaign.
So the model is:
- Create a sub-account when a firm turns texting on (
POST /v1/sub-accounts). - Submit that firm's registration (
POST /v1/registration/brand,POST /v1/registration/campaign, thenPOST /v1/registration/confirm). Ready writes the campaign details, sample messages and the STOP and HELP replies. - Buy or assign the firm's number (
POST /v1/numbers). - Send from that sub-account's key, so volume, opt-outs and billing stay with the firm.
Registration approval is not instant. Most approvals take 2 to 7 days. A new sub-account sends from its own number on Ready's shared registration until its own is approved, up to 500 texts a calendar month, so show the firm a clear status and tell them to register early. Registration works for businesses with an EIN, and a sole proprietor without one cannot register. Docs: sub-accounts and registration. For the architecture, read multi-tenant SMS architecture for SaaS.
The send request
One text is one call to POST /v1/messages with an X-API-Key header and an Idempotency-Key (one UUID per message):
{
"to": "+12125550199",
"body": "Invoice 1042 from Example Books is ready. Pay here: https://pay.example/1042",
"consent_attested": true
} Number format matters: to is E.164. Idempotency matters more than it looks in billing software. A retry after a timeout must not send a second reminder, so reuse the key only when the first request got no answer. A resend of a text that was not delivered is a new send and needs a new key. See idempotency for duplicate texts. Full request details are in the messages docs.
Quiet hours and opt-outs
Reminders to someone's phone at 6 AM make clients angry, and quiet hours are also a legal exposure. Ready enforces quiet hours by the recipient's area. An API text is held if the window opens within 24 hours. Otherwise it isn't sent, the API answers 409 QUIET_HOURS_BLOCK, and your job queue sends it again once the window opens. Plan your reminder scheduler for the client's local time. A reply to a contact who texted in the last 24 hours can go out at any hour.
When a client texts STOP, Ready honors it and blocks that number in the sub-account that received it. A send to an opted-out number is refused up front and not charged. Check GET /v1/opt-outs/:phone before you send from another tool, or after a provider migration, and mirror the state in your own UI so staff don't promise a text that won't go. More in handling SMS opt-outs.
Keep sensitive details out of the text
A text isn't a secure channel. Don't put full account numbers, tax IDs, bank details or the contents of a return in the body. "Invoice 1042 is ready, pay here" works. A balance sheet in the message doesn't. Use a link to a logged-in page for anything private.
Costs and what to watch
Ready bills a per-segment rate plus a carrier fee per segment, and a flat monthly charge for registration and each number. Screening (scrub lists and number validation) is extra when switched on. Check the pricing page for current figures and work out your cost per firm before you set your own plan price. Our pricing SMS in your SaaS plans post shows how to pass it on.
A gentle next step
Start with one text, the invoice-sent notice, for a single test firm. Get its registration through, watch delivery for a billing cycle, then add reminders. If you want to try the API, you can sign up and follow the API quickstart.