Skip to content
Baack

Group Membership

Representation of a group membership configuration. Note that the presence of a membership does not imply that the membership is active. Review the state for details of the current state. To support opt out and other negative preferences the state includes options for opt out of a group either by the member or the owner.

Browse the docs

Endpoints

  • GET/n/v1/groupmembership/{urn}

    Endpoint for managing group membership for specific identities including opt in and out support

    Parameters

    urn (path, required)
    String representation of a Unique Resource Name. Typically a UUID with 36 characters.

    Responses

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

Fields

Group Membership fields
FieldTypeDescription
urnstring (uuid)
emailNotificationstring

Required on create.

One of: SUBSCRIBED, UNSUBSCRIBED

smsNotificationstring

Required on create.

One of: SUBSCRIBED, UNSUBSCRIBED

identityIdentity

Required on create.Ignored on update.

inAppNotificationstring

Required on create.

One of: SUBSCRIBED, UNSUBSCRIBED

urlstring (uri)
groupGroup

Required on create.Ignored on update.

statusstring

Required on create.

One of: PENDING_ACCEPTANCE, PENDING_APPROVAL, ACTIVE, BLOCKED_BY_MEMBER, BANNED_BY_OWNER

enrollmentstring

Required on create.

One of: BY_MEMBER_WITH_CONSENT, BY_OWNER_WITHOUT_CONSENT

Used by: Search Item