Set up a client end to end
A client needs a sub-account and a number. It needs a registration of its own too, unless you pay for it: then it texts under yours, and can send once yours is approved and it has a number.
#Let Claude do it
Paste this into Claude Code, or any agent that can make web requests, with your Ready API key saved as READY_API_KEY. Fill in the brackets first. On GoHighLevel? Use the prompt on GoHighLevel setup instead.
Read docs.tryready.com/guides/set-up-a-client, then set up a new client in Ready over the API at api.tryready.com, using my key from $READY_API_KEY as "Authorization: Bearer".
Client: [business name], owner email [email], legal name [legal name], EIN [EIN], area code [area code]. Who pays: [me / them].
1. Create the sub-account with POST /v1/sub-accounts and keep its id.
2. Register it with POST /v1/registration, sending that id as X-Sub-Account-Id and preferred_area_code so the number comes with it. If they pay and have no card yet, give me their invite_link instead of registering.
3. Read GET /v1/registration with the same header and tell me where it stands.
Show me each request body before you send anything that charges, and never send a text.
#1. Decide who pays first
You pick this when you create the sub-account, and the API can’t change it later.
- You pay (
billing: "agency", You pay in the app). The sub-account texts under your registration, so once yours is approved it only needs a number. Its numbers go on your card. - They pay (
billing: "client", They pay in the app). The sub-account needs its own registration and its own number, paid with its own card. This needs the Partner Terms accepted first, in the app, by your account owner. - White label agencies always send
billing: "agency", because you pay Ready for every client. A white label client gets no trial sending, though: it can’t text until its own registration is approved, so register it the day you create it.
#2. Create the sub-account
In the app: Sub-accounts, then Add sub-account. Over the API: POST /v1/sub-accounts with your own rsms_ key.
POST /v1/sub-accounts
{
"email": "owner@theirbusiness.com",
"company_name": "Acme Plumbing",
"billing": "client",
"send_invite": false
}
Save the id from the answer: every call you make for this client sends it as the X-Sub-Account-Id header. Store it with your own onboarding form’s submission so you know which sub-account it belongs to.
Using GoHighLevel? Send ghl_location_id in the same call and the location is linked to the new sub-account straight away. Ready has to be installed on that location from your GoHighLevel agency first (GoHighLevel setup).
#3. Register the sub-account
Skip this step for a sub-account you pay for that isn’t white label: it texts under your registration. Otherwise, pick one of three ways. All three file the registration on that client’s sub-account.
#The client fills it in, in Ready
Send them their invite_link from step 2 (or leave send_invite on and Ready emails it). They sign in straight into their own sub-account, add their card and fill in the registration form there. Nothing can land on the wrong account, because they’re signed in to theirs.
#Your own onboarding form
Collect the business details on your form, then call POST /v1/registration with X-Sub-Account-Id set to the id you saved in step 2. The header is what puts the registration on the right sub-account. Leave it out and you register your own account instead.
POST /v1/registration
X-Sub-Account-Id: 4812
{
"company_name": "Acme Plumbing LLC",
"ein": "47-2918563",
"consent": true,
"preferred_area_code": "512"
}
What your form needs: the legal business name, the EIN, and a yes to the consent question. The address, contact person and business description are optional; leave the address out and Ready files its own, which carriers check the same way. GET /v1/registration/use-cases lists every field and the current price. Ready builds the opt in page for the brand, so don’t ask for a website.
The charge goes to whoever pays for that sub-account. A client who pays needs a card saved before this call works: send them their invite_link to add it.
#You fill it in, in the app
Open the client’s sub-account from Sub-accounts and register from there. It’s the same form your clients see.
#4. Give it a number
Sending preferred_area_code with the registration buys the number in the same call, so most clients need nothing more. To buy one on its own, call POST /v1/numbers/checkout, then POST /v1/numbers, both with X-Sub-Account-Id (Phone numbers).
#5. Send
A sub-account you pay for can send as soon as it has a number and your registration is approved. One that needs its own registration waits for approval first. Subscribe to the registration_approved and registration_rejected webhooks with PUT /v1/webhooks. If you can’t take webhooks, check GET /v1/registration with X-Sub-Account-Id every 15 to 60 minutes and send once data.can_send_registered is true.
A rejection comes with the carriers' reason in plain English and what to fix. Fix only that, then resend with POST /v1/registration/{id}/resubmit.
Once it’s approved, send with POST /v1/messages and the same header. On GoHighLevel, send a test text from Conversations.
Every call above is on Sub-accounts and Registration.
See also: the API reference for this page.