RayFlow Docs
Api

Trigger an Event

POST
/api/v1/events/trigger

Trigger a custom event to start a flow in a user's journey.

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/events/trigger" \  -H "Content-Type: application/json" \  -d '{    "event_name": "order_shipped",    "phone_number": "+1234567890"  }'
{
  "success": true,
  "message": "string"
}
Empty
Empty
Empty