Skip to main content
POST
Send Image

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"

view_once
boolean

View once

Example:

false

image
file

Image to send

image_url
string

Image URL to send

Example:

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

compress
boolean

Compress image

Example:

false

duration
integer

Disappearing message duration in seconds (optional)

Example:

3600

is_forwarded
boolean

Whether this is a forwarded message

Example:

false

Response

OK

code
string
Example:

"SUCCESS"

message
string
Example:

"Success"

results
object