Identity Notification Inbox | Baack docs
Identity Notification Inbox
Endpoints
ReadGET/n/v1/identitynotificationinbox/{urn}
Endpoint to make it trivial to retrieve the notifications pending for an identity by accessing the inbox (received) notifications associated with message threads. The notifications for an identity are driven by message thread posts (unread) messages to threads where they are a member of the threads membership group with their in app notification status set to 'SUBSCRIBED'.
Notes
- Post notifications are not recorded in the in app inbox of notifications if the identity is not a member of the group and subscribed to in app notifications.
- In app notifications can be created and updated via the message thread notification endpoint.
- To 'ack' or mark a notification received call HTTP DELETE on the notification representation
- Deletion is supported by this endpoint to clear all notifications for an identity as a convenience.
Parameters
urn(path, required)String representation of a Unique Resource Name. Typically a UUID with 36 characters.
Responses
- 200 OK
- returns Identity Notification Inbox
READ_SUCCESS - 404 Not found
- returns Error
NOT_FOUND
curl -H "Authorization: Bearer $BAACK_API_TOKEN" \ https://api.baack.co/n/v1/identitynotificationinbox/{urn}DeleteDELETE/n/v1/identitynotificationinbox/{urn}
Endpoint to make it trivial to retrieve the notifications pending for an identity by accessing the inbox (received) notifications associated with message threads. The notifications for an identity are driven by message thread posts (unread) messages to threads where they are a member of the threads membership group with their in app notification status set to 'SUBSCRIBED'.
Parameters
urn(path, required)String representation of a Unique Resource Name. Typically a UUID with 36 characters.
Responses
- 202
DELETE_SUCCESS
Fields
| Field | Type | Description |
|---|---|---|
| pagination | Pagination | |
| notifications | array of Message Thread Notification | Ignored on update. |