How to send a push notification to a participant category
Use this guide when you want to send a notification to participants in specific categories — for example, all VIP guests or Buyers.
Request
Bash
curl -X POST "https://your-event-domain.com/api/v2/notifications/send/7" \
-H "Authorization: Bearer your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"content": { "en": "VIP and Buyer networking starts at 18:00." },
"user_ids": [18629, 18630, 18631, 18632, 18633],
"subject": "VIP||Buyers"
}'
How category filtering works
The subject parameter filters the user_ids list — only accounts that are both in user_ids and belong to one of the named categories will receive the notification. Separate multiple category names with || (double pipe).
Notes
-
Category names are case-insensitive
-
subjectmust be a string, not an array -
Use
GET /api/v2/account/getCategories?event_id=to retrieve valid category names