target
.
- Direct: If
recipient_id
is set,target
is optional. - Broadcast: If
recipient_id
is null,target
is 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
The response is of type any
.