Send Event API
Send Event
POST

/v1/apps/{app_id}/events/send

Authorization*
curl --request POST \
  --url https://api.ravenapp.dev/v1/apps/{app_id}/events/send \
  --header 'Authorization: <authorization>' \
  --data '{
  "event": "<event>"
}'

Parameters

app_idrequired
string

The id of the app

Body

eventrequired
string

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

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
}