Skip to main content
POST
Add a group

Authorizations

Authorization
string
header
required

A member credential in the Authorization: Bearer header: a member session JWT, a portal JWT whose login is linked to a membership in that company, or a member token. The credential alone identifies the member and company.

Body

application/json

A new group.

name
string
required

Group name.

Required string length: 1 - 255
Pattern: ^[^\u0000]*[^\s\u0000][^\u0000]*$
color
string

Display color as #RRGGBB.

Pattern: ^#[0-9A-Fa-f]{6}$

Response

The new group.

One group.

status
integer
required
data
object
required

A named set of the member's contacts.

meta
object
required

Envelope metadata present on every response.