Skip to content

Memberbases

A memberbase is a named container for members. It acts as the primary audience grouping in Publisher - every member belongs to exactly one memberbase, and all delivery, targeting, and reporting is scoped to a memberbase.

Creating a Memberbase

bash
curl -X POST https://publisher/publisher.v1/member-base/create \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"name": "My Loyalty Members"}'

response

json
{ "id": "mb_abc123", ... }

The system-generated id is used in all subsequent API calls when referencing this memberbase.

Listing Memberbases

json
{
  "pagination": { "limit": 50 },
  "filters": [{ "key": "name", "regex": { "pattern": "^prod", "case_insensitive": true } }]
}

See Filtering for the full filter syntax.

Deleting a Memberbase

Deleting a memberbase soft-deletes it and all associated members. This operation cannot be undone.

json
{
  "id": "mb_abc123"
}