At a glance
| Item | Detail |
|---|---|
type | location_request |
| Channel support | Official and unofficial |
| Body | content.body or content.text |
Request body
| Field | Required | Description |
|---|---|---|
channel_id | Yes | Sender channel ID |
to | Yes | Recipient phone number |
type | Yes | location_request |
content.body | Yes | Prompt text shown to the user |
Example
When the user replies, see Handle inbound text or Handle interactive replies.
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