Skip to main content

Endpoint

Important — how to get instanceId

instanceId is required to send a message. Do not use these instead:
  • name
  • waNumber
To get the correct instanceId:
  1. call GET /api/v1/instances
  2. select the target instance
  3. copy data[n].id
  4. send this value in the instanceId field
Example:
  • id = technical identifier required by the API
  • name = human-readable label
  • waNumber = connected number shown to the user

Body

Buttons

Each button must follow this structure:

Request example

Messages with buttons

Messages with buttons require a WhatsApp Business account. They let you add up to 2 interactive buttons.

Supported button types

Button message example

Success response 201

In V1, safety warnings do not block sending. They are informational only.

Common errors