Baack

Message Thread Notification

Browse the docs

Endpoints

  • CreatePOST/n/v1/messagethreadnotification/

    Baack allocates the URN and returns it in the response.

    Request body: Message Thread Notification

    Responses

    201 Created
    returns Message Thread NotificationCREATE_SUCCESS
    400 Bad request
    returns ErrorINVALID_REPRESENTATION
  • ReadGET/n/v1/messagethreadnotification/{urn}

    Parameters

    urn (path, required)

    String representation of a Unique Resource Name. Typically a UUID with 36 characters.

    Responses

    200 OK
    returns Message Thread NotificationREAD_SUCCESS
    404 Not found
    returns ErrorNOT_FOUND
    curl -H "Authorization: Bearer $BAACK_API_TOKEN" \
      https://api.baack.co/n/v1/messagethreadnotification/{urn}
  • UpdatePUT/n/v1/messagethreadnotification/{urn}

    Parameters

    urn (path, required)

    String representation of a Unique Resource Name. Typically a UUID with 36 characters.

    Request body: Message Thread Notification

    Responses

    202
    returns Message Thread NotificationUPDATE_SUCCESS
    400 Bad request
    returns ErrorREPRESENTATION_MISSING_REQUIRED_FIELD
  • DeleteDELETE/n/v1/messagethreadnotification/{urn}

    Parameters

    urn (path, required)

    String representation of a Unique Resource Name. Typically a UUID with 36 characters.

    Responses

    202
    DELETE_SUCCESS

Webhook

POSTyour destination URL

Subject: MESSAGE_THREAD_NOTIFICATION

Notification updates webhook with changes (creation / modification) to a single notification

Notifications are used to support creating rich inbox style experiences for users. Message threads can be associated with any type of concept on the platform. The platform automatically updates notifications based on state changes in the thread and further notifications can be managed via the MessageThreadNotification endpoint.

Body: Webhook Event

Your response

200
Return 200 status to indicate that data was received successfully

Fields

Message Thread Notification fields
FieldTypeDescription
urnstring (uuid)
notificationCountinteger (int32)
identityIdentity
messageThreadMessage Thread
updatedTimestampstring (date-time)
urlstring (uri)

Used by: Identity Notification Inbox