Menu

Create a group

POST/v1/groups

Requires an API key with the groups:write scope. About keys and scopes

Groups are static lists — membership is explicit, unlike a segment, which is evaluated from rules. Names must be unique within the organization.

Request body

namestringrequired

Unique within the workspace.

1–255 characters

descriptionstring | nulloptional

1–1000 characters

Returns

Returns 201 Created with a Group in data. Otherwise returns an error; Errors lists every code and which to retry.

idstringrequired

uuid

namestringrequired
descriptionstring | nullrequired
memberCountintegerrequired

Contacts currently in the group.

min 0 · max 9007199254740991

createdAtstringrequired

date-time

updatedAtstringrequired

date-time