At a glance
| Item | Detail |
|---|---|
type | location |
| Channel support | Official and unofficial |
| Coordinates | Decimal degrees (latitude, longitude) |
Request body
| Field | Required | Description |
|---|---|---|
channel_id | Yes | Sender channel ID |
to | Yes | Recipient phone number |
type | Yes | location |
content.name | Yes | Place name |
content.address | Yes | Address label |
content.latitude | Yes | Latitude |
content.longitude | Yes | Longitude |
Example
Endpoint
POST https://api.wazapin.com/v1/messages
Authenticate with X-Api-Key. See Authentication.
Response
On success, the API returns201 Created with a message record (status often starts as queued).
201 Created