Skip to main content
POST
Create contact groups

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Create a contact group in the current workspace. Scramble reads these rules to document the request body. Mirrors ContactsController::groupStore.

name
string
required

Group name. Required.

Maximum string length: 191
note
string | null

Optional note/description for the group.

Maximum string length: 500
color
string | null

Optional UI colour (hex or token, e.g. #2563eb).

Maximum string length: 32

Response

Resource created successfully.

data
any[]
required
meta
string
required