Baack
Browse the docs

Endpoints

  • CreatePOST/n/v1/threadpost/

    Endpoint for managing thread posts in a message or chat thread

    Baack allocates the URN and returns it in the response.

    Request body: Thread post

    Responses

    201 Created
    returns Thread postCREATE_SUCCESS
    400 Bad request
    returns ErrorINVALID_REPRESENTATION
  • ReadGET/n/v1/threadpost/{urn}

    Endpoint for managing thread posts in a message or chat thread

    Parameters

    urn (path, required)

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

    Responses

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

    Endpoint for managing thread posts in a message or chat thread

    Parameters

    urn (path, required)

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

    Request body: Thread post

    Responses

    202
    returns Thread postUPDATE_SUCCESS
    400 Bad request
    returns ErrorINVALID_REPRESENTATION
  • DeleteDELETE/n/v1/threadpost/{urn}

    Endpoint for managing thread posts in a message or chat thread

    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: THREAD_POST

Webhook events related to the creation of a message thread (AKA chat or messaging) post.

Use the message thread post webhook to receive notifications when ever a message is updated in a message thread.

Integrate chat bots or AI assistants via the message thread post webhook to trigger rich experiences

Automatically moderate message posts or even update the group membership based on the activity of the message poster

Body: Webhook Event

Your response

200
Return 200 status to indicate that data was received successfully

Fields

Thread post fields
FieldTypeDescription
urnstring (uuid)
createdTimestampstring (date-time)
replyToThread post
messageThreadMessage Thread

Required on create.Ignored on update.

.

urlstring (uri)
authorIdentityIdentity

Required on create.Ignored on update.

.

contentstring

Required on create.

.

Up to 1024 characters.

Used by: Message Thread