Add an RCS agent
Asks for an RCS agent and records the order form the carriers vet it against. Always 202: an agent is approved by the carriers, not by this call, and nothing here can make that happen sooner.
What it asks for
The RCS Agent Order Form — the same one our team fills in on your behalf today, so nothing has to be collected from you twice. All fields are required and must be submitted together so the carrier review has everything it needs. The only exception is opt_in_screenshot_url.
Agent identity: display_name, description, agent_use_case (must be one of the accepted use cases; the error names the set), brand_color (six-digit hex, #RRGGBB).
Brand identity: brand_name — the brand this agent presents. Not taken from compliance.brand: a business may present a different brand on RCS than the one its 10DLC registration is filed against, and the carriers vet this one. privacy_policy_url, terms_and_conditions_url, website_url, logo_url, and banner_url must be absolute http(s) URLs that the carriers can fetch without authentication. The form specifies 224×224 px and 50 KB for the logo and 1440×448 px and 200 KB for the banner; these cannot be checked without the image bytes.
Contact details: brand_phone_number, customer_support_phone_number, brand_email, customer_support_email, contact_name_and_title.
Company: company_ein, entity_type, official_address (street, city, state, postal_code, country), brief_company_description.
Consent and messages: opt_in_process_description, start_message, help_message, stop_message, sample_messages (at least one example message).
Optional: opt_in_screenshot_url (validated as an http(s) URL if supplied).
Anything supplied is checked against accepted values rather than passed through: a value the provider rejects would otherwise surface days later, to somebody who cannot fix it without asking you.
A customer has one agent. Asking again while you have one is 409.
What comes back, and what does not
Returns the agent — the form as stored, plus id and status. Not your other channels, which this call cannot have changed.
status is PROVISIONING until the agent is handed to the carriers and approved. GET /v3/channels reports rcs: null until then — a channel row is what routing reads to decide you are sendable, and writing one for an unapproved agent would claim a channel that cannot carry traffic.
Send x-profile-id with an organization key to ask for one of your profiles' agents.
Idempotency-Key?stringUnique key to ensure idempotent request processing. Must be 1-255 alphanumeric characters, hyphens, or underscores. Responses are cached for 24 hours per key per customer.
^[a-zA-Z0-9_-]+$length <= 255x-profile-id?stringProfile UUID to scope the request to a child profile. Only organization API keys can use this header. The profile must belong to the calling organization.
uuidapplication/json- body
The RCS Agent Order Form, as a customer sends it.
The same form the admin side takes — POST /customers/{customerId}/rcs-senders and CreateRcsSenderRequest — rather than a reduced one. It was three fields for a while, which recorded a hosting region and a logo into a config blob and left everything a carrier actually asks about to be collected by hand later. A customer can answer all of this; nobody else can answer any of it.
Named in this API's own casing. Every v3 body is snake_case, so the fields are mapped rather than shared: logo_url, banner_url, brand_color.
No customer_id. The internal form carries one because an admin names the customer it is acting for; here the key does, and accepting one from the body would let a caller file an agent against somebody else.
All fields except opt_in_screenshot_url are required. The full order form must be submitted in one go so the carrier review has everything it needs.
sandbox?booleanSandbox flag - when true, the operation is simulated without side effects Useful for testing integrations without actual execution
display_name*stringThe name the agent shows in the messaging client.
length <= 200description*stringWhat the agent is for, shown to recipients. Capped by the carriers, not by us.
0 <= length <= 100agent_use_case*stringWhich kind of traffic the agent carries. One of the accepted use cases; the error names the set.
1 <= length"VERIFICATION""NOTIFICATIONS""MARKETING""MULTI_USE"brand_name*stringThe brand this agent presents over RCS.
Not taken from your compliance.brand: a business may present a different brand on RCS than the one its 10DLC registration is filed against, and the carriers vet this one.
privacy_policy_url*stringRequired by US carriers. Must be an absolute http(s) URL they can fetch.
uriterms_and_conditions_url*stringuriwebsite_url*stringThe brand's own site.
uribrand_color*stringPrimary brand colour, as #RRGGBB. Three-digit shorthand is refused: the value is submitted verbatim, so two spellings of one colour is only a way for the stored value to disagree with the form.
^#[0-9A-Fa-f]{6}$logo_url*stringPublicly reachable logo. It has to be fetchable without authentication at review time, so a URL behind a login passes this call and fails the review.
uribanner_url*stringuribrand_phone_number*stringThe brand's own number. Also becomes the agent's canonical sending number for routing, which is why it is normalised to E.164 rather than stored as sent.
customer_support_phone_number*stringbrand_email*stringemailcustomer_support_email*stringemailcontact_name_and_title*stringcompany_ein*stringentity_type*stringofficial_address*brief_company_description*stringopt_in_process_description*stringHow recipients opt in, in prose. The carriers read this one.
opt_in_screenshot_url?|A screenshot of the opt-in, as a publicly fetchable URL.
uristart_message*stringhelp_message*stringstop_message*stringsample_messages*array<string>Examples of what the agent will send, for the review.
The agent is recorded with status PROVISIONING, awaiting carrier approval
application/json- response
Standard API response envelope for all v3 endpoints
success?booleanIndicates whether the request was successful
data?|nullThe response data (null if error)
error?|nullError details (null if successful)
meta?Metadata about the request and response
curl -X POST 'https://api.sent.dm/v3/channels/rcs' \ -H 'Idempotency-Key: req_abc123_retry1' \ -H 'Content-Type: application/json' \ -d '{ "display_name": "Example Retail", "description": "Order and delivery notifications for Example Retail customers.", "agent_use_case": "NOTIFICATIONS", "brand_name": "Example Retail", "privacy_policy_url": "https://example.com/privacy", "terms_and_conditions_url": "https://example.com/terms", "website_url": "https://example.com", "brand_color": "#1a73e8", "logo_url": "https://example.com/assets/logo-224x224.png", "banner_url": "https://example.com/assets/banner-1440x448.png", "brand_phone_number": "+12125550100", "customer_support_phone_number": "+18005550100", "brand_email": "hello@example.com", "customer_support_email": "support@example.com", "contact_name_and_title": "Jane Smith, Head of Marketing", "company_ein": "12-3456789", "entity_type": "PRIVATE_PROFIT", "official_address": { "street": "123 Main St", "city": "New York", "state": "NY", "postal_code": "10001", "country": "US" }, "brief_company_description": "Example Retail sells home goods across the US and ships to 48 states.", "opt_in_process_description": "Customers opt in at checkout by checking the SMS/RCS notifications box.", "start_message": "Welcome to Example Retail! Reply HELP for help or STOP to opt out.", "help_message": "For help, visit https://example.com/support or call 1-800-555-0100.", "stop_message": "You have been unsubscribed from Example Retail notifications.", "sample_messages": [ "Your order #12345 has shipped and will arrive tomorrow." ], "sandbox": false}'{ "success": true, "data": { "id": "c87b77eb-d936-497f-b662-a865a35d802c", "status": "PROVISIONING", "reason_code": "CHANNEL_011", "reason": "This channel is being set up", "display_name": "Example Retail", "description": "Order and delivery notifications for Example Retail customers.", "agent_use_case": "NOTIFICATIONS", "brand_name": "Example Retail", "privacy_policy_url": "https://example.com/privacy", "terms_and_conditions_url": "https://example.com/terms", "website_url": "https://example.com", "brand_color": "#1a73e8", "brand_phone_number": "+12125550100", "customer_support_phone_number": "+18005550100", "brand_email": "hello@example.com", "customer_support_email": "support@example.com", "contact_name_and_title": "Jane Smith, Head of Marketing", "company_ein": "12-3456789", "entity_type": "PRIVATE_PROFIT", "official_address": { "street": "123 Main St", "city": "New York", "state": "NY", "postal_code": "10001", "country": "US" }, "brief_company_description": "Example Retail sells home goods across the US and ships to 48 states.", "opt_in_process_description": "Customers opt in at checkout by checking the SMS/RCS notifications box.", "start_message": "Welcome to Example Retail! Reply HELP for help or STOP to opt out.", "help_message": "For help, visit https://example.com/support or call 1-800-555-0100.", "stop_message": "You have been unsubscribed from Example Retail notifications.", "sample_messages": [ "Your order #12345 has shipped and will arrive tomorrow." ], "created_at": "2025-06-01T12:00:00+00:00" }, "meta": { "request_id": "req_7D5fRp1sSw", "timestamp": "2025-06-01T12:00:00+00:00", "version": "v3" }}Add a WhatsApp account POST
Connects a WhatsApp Business Account shared with us through a Multi-Partner Solution to the calling sender profile. Send `x-profile-id` for the profile the account belongs to. **Two fields, because everything else is derived.** `waba_id` says which of your organization's shared accounts this is — you hold one per client, and nothing else can say which. `phone_number_id` names the account's number, which is what assigns it to the profile as the number it sends from. The solution the account arrived through, the client business portfolio that owns it, the access token and its expiry are all resolved from your organization. They are not accepted here: the first two are Meta's answer about provenance, and the token is minted per client business and rotates roughly every sixty days, so a value you sent would be stale before it was useful. `phone_number_id` is optional. Omit it to connect the account now and settle the number later — the channel reads as `ACTION_NEEDED` with `reason_code` `CHANNEL_007`, and the profile's WhatsApp messages fail until a number is named. They do not fall back to your organization's account. Call this endpoint again with `phone_number_id` to name one. The same resolution runs behind `channels.whatsapp` on `POST /v3/sender-profiles`, so connecting at create and connecting afterwards fill the same fields. Returns **the account**, not every channel you have — adding one cannot change a market or an RCS agent, and `GET /v3/channels` is the whole picture. Giving an account up is not self-service: ask support, because deregistering a number lands in your own Meta business.
Voice Callback Contract
Reference for the questions Sent POSTs to a voice number's callback URL and the answers your backend returns: the envelope, call.request and call.input, every action and instruction, parsing rules, account rules, and error reasons.