cURL
curl --request GET \ --url https://sandbox.tight.com/v6/messages/{id} \ --header 'Authorization: Bearer <token>'
{ "result": "SUCCESS", "data": { "id": "msg_67890", "conversationId": "<string>", "author": { "userId": "<string>", "email": "user@example.com" }, "text": "Let's discuss the new feature requirements", "status": "ACTIVE", "createdDateTime": "2023-11-07T05:31:56Z", "lastUpdatedDateTime": "2023-11-07T05:31:56Z", "reactions": [ { "emojiCode": "thumbs_up", "authorInfo": [ { "userId": "<string>", "email": "user@example.com" } ] } ], "attachments": [ { "id": "att_894321", "url": "https://files.example.com/attachment/receipt.pdf", "fileName": "receipt.pdf", "fileSize": "24 KB", "createdDateTime": "2023-11-07T05:31:56Z", "iconUrl": "https://cdn.sandbox.tight.com/icons/attachments/pdf.svg" } ] }, "error": [ { "type": "UNKNOWN_ERROR", "message": "<string>", "param": "<string>" } ] }
Get message for the given id
Bearer authentication header of the form Bearer <token>, see Authentication for more detail.
Bearer <token>
The id of the message
Success
The result of the action performed.
SUCCESS
FAILURE
The data generated by the action performed.
Show child attributes