Baack
Browse the docs

Endpoints

  • CreatePOST/n/v1/group/

    Endpoint for managing membership groups used for collections of identities with metadata associated with the group lifecycle. Groups can be used for general identity groups, permissions or even mailing list management as they support membership state with opt in context and opt out state

    Baack allocates the URN and returns it in the response.

    Request body: Group

    Responses

    201 Created
    returns GroupCREATE_SUCCESS
    400 Bad request
    returns ErrorREPRESENTATION_MISSING_REQUIRED_FIELD
  • ReadGET/n/v1/group/{urn}

    Endpoint for managing membership groups used for collections of identities with metadata associated with the group lifecycle. Groups can be used for general identity groups, permissions or even mailing list management as they support membership state with opt in context and opt out state

    Notes

    • See groupmembership for managing membership state for specific identities

    Parameters

    urn (path, required)

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

    Responses

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

    Endpoint for managing membership groups used for collections of identities with metadata associated with the group lifecycle. Groups can be used for general identity groups, permissions or even mailing list management as they support membership state with opt in context and opt out state

    Parameters

    urn (path, required)

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

    Request body: Group

    Responses

    202
    returns GroupUPDATE_SUCCESS
    400 Bad request
    returns ErrorREPRESENTATION_MISSING_REQUIRED_FIELD
  • DeleteDELETE/n/v1/group/{urn}

    Endpoint for managing membership groups used for collections of identities with metadata associated with the group lifecycle. Groups can be used for general identity groups, permissions or even mailing list management as they support membership state with opt in context and opt out state

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

Webhook for membership group updates normally used for new group updates or name changes

Membership group events are critical for experiences like mailing list groups but can also be used for internal company groups in the case of building an intranet style product.

Listen to group creations or updates to trigger experiences like group moderation.

Note that groups have an associated content entity which is assigned on creation where the bulk of information about a group should be stored. The content entity will have its own webhook events.

Body: Webhook Event

Your response

200
Return 200 status to indicate that data was received successfully

Fields

Group fields
FieldTypeDescription
urnstring (uuid)
ownerCompany

Required on create.

.

messageThreadsarray of Message Thread

Ignored on update.

namestring

Up to 255 characters.

urlstring (uri)
entityEntity

Ignored on update.

Used by: Group Membership, Message Thread, Search Item