Chat
Sending Location Message
Use the messages node to send Media (Image, Video, Audio and Document) messages to your BOTs or Human agent.
Authorization
bearerAuth AuthorizationBearer <token>
JWT access token returned by Signing In (POST /auth/v1/tokens/).
In: header
Request Body
application/json
body?unknown
Response Body
application/json
curl -X POST "https://example.com/conversation/chat/v1/messages/" \ -H "Content-Type: application/json" \ -d '{ "type": "location", "id": "<message Unique ID>", "timestamp": 1607006547156, "senderProfile": { "senderID": "<Message Sender ID In Your System>", "name": "<Message Sender Name>" }, "message": { "location": { "longitude": "-97.8220", "latitude": "37.7510" } } }'"{\n \"meta\": {\n \"version\": \"1.0.0\"\n },\n \"data\": {\n \"status\": \"created\"\n }\n}\n\n"