A typical send is an HTTPS POST with a JSON body describing the message. Following Google RBM conventions, a minimal text send looks like this (endpoint and IDs simplified):
POST https://{region}-rcsbusinessmessaging.googleapis.com/v1/phones/{E164_PHONE}/agentMessages?agentId={AGENT_ID}
Content-Type: application/json
{
"contentMessage": {
"text": "Your order #1043 has shipped 📦",
"suggestions": [
{ "action": { "text": "Track", "postbackData": "track_1043",
"openUrlAction": { "url": "https://shop.example/track/1043" } } }
]
}
}
Before sending, call the capability check for the destination; if it isn’t RCS-capable, send via SMS/MMS instead (a good provider does this fallback for you).