Broadcast Message
Send broadcast messages to customers
Authorizations
AuthorizationstringRequired
Bearer token for API authentication
Query parameters
botIdstringRequired
The bot ID for the API request
Body
Additional validation rules:
- Either intentId or message must be provided (cannot both be empty)
- fbTag is required when platform is 'facebook'
secretstringRequiredExample:
Secret key for API authentication
your_secret_key_hereintentIdstringOptionalExample:
Intent identifier for the broadcast (required if message is empty)
VolejRejNmessagestringOptionalExample:
Message content to broadcast (required if intentId is empty)
Hello, this is a broadcast messageclientIdsstring[]OptionalExample:
Array of platform UUIDs to send the broadcast to
["client_1","client_2","client_3"]platformstring · enumRequiredExample:
Platform to send the broadcast on (required)
linePossible values: fbTagstringOptionalExample:
Facebook tag for the broadcast (required when platform is 'facebook')
CUSTOMER_FEEDBACKnamestringRequiredExample:
Name of this broadcast
Openapi BroadcastResponses
200
Broadcast sent successfully
application/json
successbooleanRequiredExample:
truemessagestringRequiredExample:
Operation completed successfully401
JWT token is invalid or expired
application/json
403
Permission or broadcast creation failed
application/json
404
Resource not found
application/json
429
Rate limit exceeded
application/json
500
Internal server error
application/json
post/openapi/broadcast
POST /api/openapi/broadcast?botId=text HTTP/1.1
Host: mantago.cc
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 223
{
"secret": "your_secret_key_here",
"intentId": "VolejRejN",
"message": "Hello, this is a broadcast message",
"clientIds": [
"client_1",
"client_2",
"client_3"
],
"platform": "line",
"fbTag": "CUSTOMER_FEEDBACK",
"name": "Openapi Broadcast"
}{
"success": true,
"message": "Send customer broadcast successfully"
}