Messages
Send a WhatsApp message with a mode (account from the API key)
Same as POST /devapi/accounts/{accountId}/messages/whatsapp/{mode}, but the account comes from the API key.
POST
Authorizations
Path Parameters
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.