Skip to main content
POST
/
v4
/
queue-user-group
Create a new user group
curl --request POST \
  --url https://api.example.com/v4/queue-user-group \
  --header 'Content-Type: application/json' \
  --header 'x-meetergo-api-user-id: <api-key>' \
  --data '
{
  "queueId": "<string>",
  "name": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "capacity": 123,
  "users": [
    {
      "id": "<string>",
      "givenName": "<string>",
      "familyName": "<string>",
      "slug": "<string>",
      "userType": "<string>",
      "picture": "<string>"
    }
  ],
  "userIds": [
    "<string>"
  ],
  "queueId": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "mainGroupHost": {
    "id": "<string>",
    "givenName": "<string>",
    "familyName": "<string>",
    "slug": "<string>",
    "userType": "<string>",
    "picture": "<string>"
  },
  "mainGroupHostId": "<string>",
  "deletedAt": "<string>"
}

Authorizations

x-meetergo-api-user-id
string
header
required

User ID to act as when using API Key authentication (required with API Key)

Body

application/json
queueId
string
required

ID of the queue this group belongs to

name
string
required

Name of the user group

Response

201 - application/json

User group created successfully

id
string
required
name
string
required
capacity
number
required
users
object[]
required
userIds
string[]
required
queueId
string
required
createdAt
string
required
updatedAt
string
required
mainGroupHost
object
mainGroupHostId
string | null
deletedAt
string | null