POST
/
message
/
sendLocation
/
{instance}

Authorizations

apikey
string
header
required

Your authorization key header

Path Parameters

instance
string
required

ID of the instance to connect

Body

application/json
latitude
number
required

Location latitude

longitude
number
required

Location longitude

number
string
required

Number to receive the message (with country code)

address
string

Location address

delay
integer

Presence time in milliseconds before sending message

mentioned
string[]
mentionsEveryOne
boolean

Mention everyone on a group message

name
string

Location name

quoted
object

Response

201 - application/json
key
object

The key of the message, which identifies the message in the chat.

message
object

The message content, which may include various types of messages like text, images, location, etc.

messageTimestamp
string

The timestamp of the message, represented as a string.

status
string

The status of the message, such as sent, received, or pending.