Messages

Send a message

post/v1/accounts/{account_id}/messages

Request

  • Base URL: https://api.whatsmcp.com
  • URL: https://api.whatsmcp.com/v1/accounts/{account_id}/messages
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

account_idstring required

Request body

account_idstring

ignored; the path account_id is used

audio_base64string
audio_mimestring
audio_pttboolean
audio_secondsinteger
document_base64string
document_filenamestring
document_mimestring
image_base64string
image_mimestring
templatestring
template_languagestring
template_variablesstring[] nullable
textstring
tostring required

Response

OK

message_idstring

WhatsApp's id for the message, present only when status is sent

request_idstring

correlation id; a queued message appears in wa_list_messages under this id once it settles

statusstring required

sent (delivered), queued (accepted but unconfirmed - do NOT re-send), or refused (not attempted)

Changes

No recorded changes to this operation across all 1 revision of this API.