GIA API
Send campaign message
Add a message to a GIA campaign queue.
POST
Send campaign message
Send campaign message
Adds a message to a GIA campaign queue. The campaign is created on the first request if it does not exist yet.Authentication
Send the GIA token as a bearer token:project.gia_token. Find it under Settings → Inboxes → Inbox Settings → AI Resources.
Common fields
* Send
account_id and inbox_id together, or use project_id according to the project format.
Direct message
content is required for direct_message.
AI-generated message
content is required for system_with_ai and acts as an instruction for the AI.
WhatsApp template
template_params, template_params.name, and template_params.language are required for whatsapp_template_message. category is optional.
template_params preserves additional properties. They must still be compatible with downstream processing and the WhatsApp API.
Projects using a
whatsapp_cloud channel only accept whatsapp_template_message on this endpoint.Validation rules
identifiercannot be empty.contentis required fordirect_messageandsystem_with_ai.template_paramsis required forwhatsapp_template_message.priorityonly accepts integers from1to5.- Unknown top-level fields are discarded; additional fields inside
template_paramsare preserved.
Response
Send campaign message