v1

latestOpenAPI 3.0.12026-07-26222700728.0 KB
Messages

Get message

Get message for the given id

get/v6/messages/{id}

Path parameters

idstring required

The id of the message

Response

Success

result'SUCCESS' | 'FAILURE'

The result of the action performed.

Example response

{
  "data": {
    "id": "msg_67890",
    "author": {
      "email": "user@example.com"
    },
    "text": "Let's discuss the new feature requirements",
    "status": "ACTIVE",
    "reactions": [
      {
        "authorInfo": [
          {
            "email": "user@example.com"
          }
        ]
      }
    ],
    "attachments": [
      {
        "id": "att_894321",
        "url": "https://files.example.com/attachment/receipt.pdf",
        "fileName": "receipt.pdf",
        "fileSize": "24 KB",
        "iconUrl": "https://cdn.sandbox.tight.com/icons/attachments/pdf.svg"
      }
    ]
  }
}