cURL
Notifications
Send notification
Start sending notifications through Bodhveda API.
POST
cURL
Send a direct notification to a specific recipient or send a broadcast to all recipients subscribed to a
target.
- Direct: If
recipient_idis set,targetis optional. - Broadcast: If
recipient_idis null,targetis required.
Authorizations
Bearer authentication header of the form Bearer bv_xxxxxxxxx, where bv_xxxxxxxxx is your API Key with Full access scope.
Body
application/json
Arbitrary JSON payload for the notification.
The id of a recipient.
- If null → this is treated as a broadcast notification.
- If set → this is a direct notification to that recipient.
💡 If no recipient exists with the recipient_id, Bodhveda will create a new recipient with that recipient_id.
A target is the structure used to describe who should get a notification and how it should be categorized.
Response
200 - application/json
Notification response