Skip to main content
POST

Authorizations

token
string
header
required

Body

application/json
type
enum<string>
required

Status type.

Available options:
text,
image,
video,
audio,
myaudio,
ptt
Example:

"text"

text
string

Main text or caption.

Example:

"News coming soon!"

background_color
integer

Background color index for text status.

Required range: 1 <= x <= 19
Example:

7

font
enum<integer>

Font accepted for type=text.

Available options:
0,
1,
2,
6,
7,
8,
9,
10
Example:

1

file
string

URL or base64 of the media file.

Example:

"https://example.com/video.mp4"

thumbnail
string

Field accepted in the payload; the API generates the thumbnail automatically when needed.

Example:

"https://example.com/thumb.jpg"

mimetype
string

File MIME type, when needed.

Example:

"video/mp4"

recipients
string[]

Explicit list of recipients. Accepts numbers in WhatsApp format, @s.whatsapp.net JIDs and @lid JIDs. The API validates item by item, discards invalid ones with a reason in debug and sends to the remaining valid subset. @lid entries depend on a known resolution to PN.

Example:
max_recipients
integer

Limits sending to a deterministic subset of the audience. When recipients is provided, it works as a safety cap on the already validated explicit list.

Required range: x >= 0
Example:

100

group
string

Group JID (@g.us). Publishes the status to the group, for its members, instead of the account status. Cannot be combined with recipients or max_recipients. Only text, image and video: audio returns 400.

Example:

"120363123456789012@g.us"

Response

Status sent successfully

Id
string

Message ID when an actual send occurs.

Example:

"ABCD1234"

content
object

Processed message content when there is an actual send.

messageTimestamp
integer

Timestamp in milliseconds when there is an actual send.

Example:

1672531200000

status
string

Send status when there is an actual send.

Example:

"Pending"

debug
object

Aggregated metrics of the audience and the applied selection.