Baack

Identity Notification Inbox

Browse the docs

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 InboxREAD_SUCCESS
    404 Not found
    returns ErrorNOT_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

Identity Notification Inbox fields
FieldTypeDescription
paginationPagination
notificationsarray of Message Thread Notification

Ignored on update.