Send Notification
Beta/v1/messaging/notificationsIdempotent with Idempotency-Key header. Learn more
Sends an in-app notification to a single user or broadcasts it to every user in an account.
Delivery is asynchronous: the notification is fanned out to its recipients and pushed to connected clients in real time.
categorystringenumValues:chat.messagechat.mentionchat.addedCategory of the notification.
targetobjectWho to send to: an account_user for a per-user notification, or an account to broadcast an announcement to every user in it.
typestringenumValues:account_useraccountThe kind of target.
idstringThe id of the target (an account_user id or an account id, matching type).
titlestringHuman-readable title.
bodyoptional stringPreview/body text.
priorityoptional stringenumValues:lownormalhighDelivery priority. Defaults to normal.
link_resource_typeoptional stringenumValues:accountactorentityObject type of the resource this notification should link to.
Set together with link_resource_id to point the notification at something the recipient can open.
link_resource_idoptional stringID of the resource this notification should link to.
objectstringenumValues:notification_send_resultResource type identifier.
enqueuedintegerNumber of recipients the notification was enqueued for.
Responses
Successful response for Send Notification