Notifications
Trigger inbox notification
Changed onThis endpoint triggers an inbox notification. Corresponds to liveblocks.triggerInboxNotification.
post/inbox-notifications/trigger
Request
- Base URL: https://api.liveblocks.io/v2
- URL: https://api.liveblocks.io/v2/inbox-notifications/trigger
- Auth: none declared
Request body
Example request
{
"userId": "alice",
"kind": "$fileUploaded",
"subjectId": "file123",
"activityData": {
"url": "url-to-file"
}
}Response
No Content
Changes
- breaking
request body became required
- breaking
added the pattern
^\$[a-zA-Z_]{1,128}$to the request property
- breaking
- info
api operation id
post-inbox-notifications-triggerremoved and replaced withtrigger-inbox-notification - info
added the new optional request property
- info