RayFlow Docs
Api

Send a Message

POST
/api/v1/public/messages

Send a template, text, or interactive WhatsApp message to a user.

Authorization

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/public/messages" \  -H "Content-Type: application/json" \  -d '{    "to": "+1234567890",    "type": "template"  }'
{
  "success": true,
  "messageId": "string",
  "status": "string"
}
Empty
Empty
Empty