POST
/
v1
/
apps
/
{app_id}
/
events
/
send
curl 'https://api.ravenapp.dev/v1/apps/{{APP_ID}}/events/send' \
-H 'Authorization: AuthKey {{API_KEY}}' \
-H 'Content-Type: application/json' \
-d '{
    "event": "sample_event_1",
    "user": {
        "mobile": "+919876543210",
        "email": "x@ravenapp.dev",
        "whatsapp_mobile": "+919876543210", // if empty, `mobile` is considered for whatsapp
    },
    "data": {
        "name": "John Doe",
        "date": "01 December 2020"
    }
}'
{
  "request_id": "1d1ed73c-96e6-4aa3-abc2-2e9a926f773a",
  "success": true
}

Parameters

app_id
string
required

The id of the app

Body

event
string
required

The name of the event

data
object

Example: { "param1" : "value1", "param2" : "value2", "param3" : "object or array" }

user
object

Additional Body Parameters

override
object

Overriding messages / integration configurations