Skip to main content
POST
/
message
/
send-text
Send text
curl --request POST \
  --url https://api.zapfy.io/v1/message/send-text \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "number": "5511999998888",
  "text": "Hello from Zapfy!"
}
'
{
  "data": {
    "messageId": "3EB0C767D4...",
    "status": "SENT"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
number
string
required

Destination number (E.164, digits only).

Example:

"5511999998888"

text
string
required

Message content.

Example:

"Hello from Zapfy!"

Response

Message accepted by WhatsApp.

data
object