messages

Send Message V1

Send a WhatsApp template or free text message.

post/api/v1/messages

Request

  • Base URL: https://www.elocuenti.com
  • URL: https://www.elocuenti.com/api/v1/messages
  • Auth: HTTP bearer

Request body

tostring required
type'template' | 'text' required
idempotency_keystring required
referencestring nullable
fromstring nullable

Optional. The business WhatsApp number to send from, in E.164 (e.g. +573001234567). Omit it to send from the business default. A number that is not one of the business's active numbers is refused with 422 from_number_not_available. from is part of the request identity: retrying the same idempotency_key with a different from (or adding/removing it) is another request and answers 409 idempotency_conflict; change the key when you change the number. A from refused with 422 is final for its key too: correct the number and send a new key.

Response

Successful Response

request_idstring nullable

Changes

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