For the complete documentation index, see llms.txt. This page is also available as Markdown.

Sending Location

🔒 WhatsApp 24-Hour Session Rule

Before sending a location, make sure the WhatsApp session with the user is active.

If the user has not messaged your business within the last 24 hours, WhatsApp requires the first message to be a template message.

After the customer replies, the 24-hour session opens and you may send location messages using this API. For sandbox testing, send your join code to the sandbox number to activate your session. Learn more

WhatsApp offers an API to send location.

POST

Headers

Name
Value

Content-Type

application/json

apiKey

Get apiKey from App portal settings tabhttps://app.lipachat.com/app/settings

Body

Name
Type
Description

messageId

string

A unique identifier for the message. This will be used to track the message status and for deduplication purposes.

from

string

Sandbox number +254110090747 or your own WABA phone number.

to

string

Receiver phone number. It should start with a country code.

latitude

number

Location latitude in decimal degrees. e.g 35.929673

longtitude

number

Location longtitude in degrees. e.g -78.948237

name

string

Location name

address

string

Location address

Response

Last updated