How to send a push notification with a deep link
Use this guide when you want the notification to navigate participants to a specific app section when tapped.
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": "Check out the new product launch from Acme Corp!" },
"user_ids": [18629, 18630, 18631],
"link": { "en": "/exhibitors/42" },
"linkType": "exhibitor"
}'
Common linkType values
|
|
Description |
|---|---|
|
|
Links to an exhibitor profile |
|
|
Links to a session page |
|
|
Links to a news article |
Notes
-
linkandlinkTypeare optional — the notification is still sent without them -
Both are passed through to the notification payload as-is