Skip to main content
POST
Create a group

Authorizations

apiKey
string
header
required

API key from Settings → API keys.

apiSecret
string
header
required

Secret shown once when the API key is created.

Path Parameters

accountId
string
required

Your Gallabox account ID. Must be the API key's own account. A 24-character hexadecimal ID.

Pattern: ^[a-fA-F0-9]{24}$
Example:

"6650a1b2c3d4e5f6a7b8c9d0"

Body

application/json
channelId
string
required

The WhatsApp channel that owns the group.

Pattern: ^[a-fA-F0-9]{24}$
Example:

"6650a1b2c3d4e5f6a7b8c9d0"

name
string
required

Group name, up to 128 characters.

Required string length: 1 - 128
description
string

Group description, up to 2,048 characters.

Maximum string length: 2048
joinApprovalMode
enum<string>

Whether people who join by link need approval. Default auto_approve.

Available options:
auto_approve,
approval_required
participants
string[]

Phone numbers to add when the group is created.

Minimum string length: 1

Response

The group is being created. It starts in pending status.

status
enum<string>
required
Available options:
ACCEPTED
data
object