POST
/
send-message
/
location
curl --request POST \
  --url https://api.crunchz.app/api/send-message/location \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "contact_id": "xxx@c.us",
  "latitude": "38.8937255",
  "longitude": "-77.0969763",
  "title": "Our office"
}'
{
  "success": true,
  "message": "<string>",
  "data": {
    "status": "<string>",
    "message": "<string>",
    "timestamp": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

LocationMessageResource

The response is of type object.