POST
/
api
/
messages
/
location
curl --request POST \
  --url https://api.atendai.com/api/messages/location \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "number": "<string>",
  "locdata": {
    "latitude": 25.65239387554923,
    "longitude": 25.65239387554923,
    "name": "Al Bayt Stadium",
    "address": "2022 World Cup Opening Venue in Qatar",
    "footerText": "Footer Text"
  },
  "autoClose": true
}'
{
  "message": "<success message>"
}

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

Successful response

The response is of type object.