Skip to main content
GET
/
threads
/
{threadId}
/
messages
/
{messageId}
/
history
Get message history
curl --request GET \
  --url https://inboxapp.com/api/v1/threads/{threadId}/messages/{messageId}/history \
  --header 'Authorization: Bearer <token>'
{
  "versions": [
    {
      "id": "<string>",
      "platformId": "<string>",
      "platform": "twitter",
      "content": "<string>",
      "authorId": "<string>",
      "userId": "<string>",
      "teamId": "<string>",
      "threadId": "<string>",
      "campaignId": "<string>",
      "campaignStepId": "<string>",
      "origin": "internal",
      "editOrigin": "internal",
      "replyData": "<unknown>",
      "forwardData": "<unknown>",
      "createdAt": "2023-11-07T05:31:56Z",
      "isEncrypted": true,
      "expandedData": "<unknown>",
      "entities": "<unknown>",
      "attachment": "<unknown>",
      "reactions": [
        "<unknown>"
      ]
    }
  ],
  "deletion": {
    "deletedAt": "2023-11-07T05:31:56Z",
    "deletionType": "self",
    "deletionAuthorPlatformId": "<string>",
    "origin": "internal"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

threadId
string
required

The ID of the thread containing the message.

messageId
string
required

The ID of the message to get history for.

Response

200 - application/json

OK

versions
object[]
required

All versions of the message, ordered chronologically. The first entry is the original content (if available), followed by each edit.

deletion
object
required

Deletion information if the message was deleted, otherwise null.