Skip to main content
POST
Send Location

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

application/json
phone
string

Phone number with country code

Example:

"6289685024051@s.whatsapp.net"

latitude
string

Latitude coordinate

Example:

"-7.797068"

longitude
string

Longitude coordinate

Example:

"110.370529"

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