- Documentation
- Status
- Channels
- Support
- Home
- Overview
- RBAC
- Apps
- Environment
- Integrations
- Integration Rule
- Events
- Channel Fallback
- Users
- Logs & Metrics
Extensions
Voice Integrations
Slack
Telegram
Introduction
Platform
Voice
Chat
Send Event Bulk
The
The name of the event
Batch of messages to be triggered
curl 'https://api.ravenapp.dev/v1/apps/{{APP_ID}}/events/bulk_send' \
-H 'Authorization: AuthKey {{API_KEY}}' \
-H 'Content-Type: application/json' \
-d '{
"event": "sample_event_1",
"batch": [
{
"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"
}
},
{
"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"
}
}
]
}'
Parameters
The id
of the app
Body
The name of the event
Batch of messages to be triggered
Example: { "param1" : "value1", "param2" : "value2", "param3" : "object or array" }
User’s id to send the notifications to. This is your own user identifier which you have used to create user on Raven
User’s email
Mobile with country code prefix (e.g +91)
Mobile with country code prefix (e.g +91)
List of fcm tokens.
eg. ["<fcmtoken1", "<fcmtoken2>"]
Additional Body Parameters
Overriding messages / integration configurations
Sender’s name
Sender’s email address
Sender’s name
Sender’s email address
Sender’s name
Sender’s email address
Attachment file name
base64 encoded value of the attachment
Public URL of the file
Email Text Body
Email HTML Body
Email Subject
Message
Sender
SMS text
Message
Whatsapp text
Message
Sender
Slack blocks object
curl 'https://api.ravenapp.dev/v1/apps/{{APP_ID}}/events/bulk_send' \
-H 'Authorization: AuthKey {{API_KEY}}' \
-H 'Content-Type: application/json' \
-d '{
"event": "sample_event_1",
"batch": [
{
"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"
}
},
{
"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"
}
}
]
}'