Skip to main content
POST
Send a template to 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"

groupId
string
required

ID of the group. A 24-character hexadecimal ID.

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

"6650a1b2c3d4e5f6a7b8c9d0"

Query Parameters

channelId
string
required

ID of the channel. GET /channels lists them. A 24-character hexadecimal ID.

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

"6650a1b2c3d4e5f6a7b8c9d0"

Body

application/json
templateName
string
required

The approved template's name.

Minimum string length: 1
templateLanguageCode
string
required

The template's language, for example en.

Minimum string length: 1
templateValues
object

Values for the template's variables.

localMessageId
string

Your own reference for the message.

Minimum string length: 1

Response

The template message is being sent.

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