Skip to main content
POST
/
groups
Create a group
curl --request POST \
  --url https://app.heyoo.ai/api/groups \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "count": 123,
  "createdAt": "<string>"
}

Authorizations

Authorization
string
header
required

Default authentication mechanism

Body

application/json
name
string
required

The name of the tag to create.

Required string length: 1 - 50
description
string

The description of the tag to create.

Response

The created group

id
string
required

The unique ID of the group.

name
string
required

The name of the group.

count
number
required

The number of users in the group.

createdAt
string
required

The creation date of the group.