cURL
curl --request GET \ --url https://chat.zoko.io/v2/message/{id} \ --header 'apikey: <api-key>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "platformSenderId": "919998880000", "platform": "whatsapp", "platformTimestamp": "2023-11-07T05:31:56Z", "direction": "FROM_CUSTOMER", "type": "text", "text": "<string>", "fileUrl": "<string>", "fileCaption": "<string>", "deliveryStatus": "sent", "customer": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }, "attachments": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } }
Retrieve message details
Authentication is done via apikey provided for your account
apikey
Include the following in your request header
apikey: "your_apikey_here"
ID of message
Message
Message data model