Messages
Send a WhatsApp message (account from the API key)
Same as POST /devapi/accounts/{accountId}/messages/whatsapp, but the account comes from the API key and the default mode is sync.
POST
Authorizations
Query Parameters
Body
application/json
Response
The message was accepted. sync returns the Gallabox message id; async returns the localMessageId (yours,
or one Gallabox generated). warnings lists anything in the request that was ignored.
For WhatsApp, running out of message credits doesn't fail the request. The message is saved but not sent: its
status becomes error with error code 1044 (Insufficient message credits). Check it with the message status
endpoint.