Skip to main content
POST
Send File

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

multipart/form-data
phone
string

Phone number with country code

Example:

"6289685028129@s.whatsapp.net"

caption
string

Caption to send

Example:

"selamat malam"

file
file

File to send

is_forwarded
boolean

Whether this is a forwarded message

Example:

false

duration
integer

Disappearing message duration in seconds (optional)

Example:

3600

Response

OK

code
string
Example:

"SUCCESS"

message
string
Example:

"Success"

results
object