Skip to main content
POST
Create User Group
User groups are in beta. To use these endpoints now, contact your lemlist account manager.
Admins only: the API key must have been created by an admin of the team.
The name is trimmed and its inner spaces collapsed, and a user listed twice is kept once. The response holds the group as stored.

Error codes

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
name
string
required

Unique in the team, whatever its case. Trimmed, with its inner spaces collapsed.

Required string length: 1 - 60
userIds
string[]
required

Ids of team members; [] for an empty group. A user listed twice is kept once.

Maximum array length: 1000

Response

Success

data
object

A group of team members.