API

One endpoint to send. One webhook to listen.

Plain HTTPS and JSON. The complete reference — requests, responses, error codes and the webhook contract — is public.

Read the API documentation No account needed to read it.

Your first message in three steps

  1. Get your API keyunder a minute

    Create your account: the key is in the console as soon as your workspace is ready.

  2. Send

    POST /send with your agent, the recipient's number and the message — text, rich card or carousel, passed to Google as is.

  3. Listen

    Point your webhook at your HTTPS endpoint: deliveries, reads and replies arrive there, and every event stays queryable for 90 days.

Request
first-send.sh shell
curl -X POST https://relay.open-rcs.io/send \
  -H 'x-api-key: $API_KEY' \
  -H 'content-type: application/json' \
  -d '{   "agent_id": "my_agent",   "phone_number": "+33612345678",   "message_id": "order-4182-shipped",   "message": { "text": "Bonjour" } }'
Response
200 OK json
{
  "event_id": "send-order-4182-shipped",
  "status": "SENT",
  "google_response": {
    "name": "phones/+33612345678/agentMessages/order-4182-shipped"
  }
}

Built to be retried

Idempotency keys Retry with the same message_id: sent once, billed once, the original outcome returned.
A webhook that retries Google's events are signature-checked, then forwarded to your HTTPS endpoint with your secret key, in up to 3 attempts.
Queryable events 90 days of delivery history, filterable by agent or tracking id.
Rich messages, unchanged Text, rich cards, carousels, suggested replies and actions: your RBM payload reaches Google as you wrote it.

Errors you can act on

401
Missing or invalid API key.
402
Insufficient credit: nothing is sent, nothing is billed.
403
The agent or the destination is not allowed for this key.
422
The number cannot receive this RCS message: recorded as FAILED, never billed.

Sized for millions of messages a day. Planning a large volume? We size your account with you. Talk to us

Get your API key in under a minute

Create your account, confirm your email, and your key is waiting in the console.

€50 of credit to start · no card required · no commitment