Skip to main content
POST
Send buttons

Authorizations

Authorization
string
header
required

Instance token (zpfy_inst_...) — sends messages.

Body

application/json
to
string
required

Message recipient: phone in E.164 (e.g. 5511999998888) or a group id.

Example:

"5511999998888"

title
string
required

Header title.

Example:

"Special offer"

description
string
required

Body text.

Example:

"Check the conditions below"

Footer text.

Example:

"Zapfy"

buttons
object[]
required

Buttons to render. Limits: up to 3 REPLY buttons; REPLY can't be mixed with other types; PIX must be alone.

Minimum array length: 1
mentionedPhones
string[]

Phones to mention inside the body text.

mentionAll
boolean

Mention every participant (groups only).

delay
integer

Optional delay in milliseconds before sending; WhatsApp shows "typing…" during this interval.

quoted
object

Quotes (replies to) a previous message.

Response

Message accepted by WhatsApp.

data
object

Identifier of the sent message. Store the messageId: together with the same to you sent to, it is what /messages/delete and /messages/edit need.