curl --request GET \
--url https://inboxapp.com/api/v1/threads/{threadId}/messages{
"teamId": "<string>",
"threadId": "<string>",
"messages": [
{
"platform": "twitter",
"teamId": "<string>",
"threadId": "<string>",
"id": "<string>",
"userId": "df6jbw4h36...",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"platformId": "1234567890",
"content": "<string>",
"campaignId": "df6jbw4h36...",
"authorId": "<string>",
"origin": "internal",
"replyData": "<unknown>",
"entities": "<unknown>",
"attachment": "<unknown>",
"reactions": [
"<unknown>"
]
}
],
"nextCursor": {
"timestamp": "2023-11-07T05:31:56Z",
"id": "<string>"
}
}List messages in a thread with pagination support
curl --request GET \
--url https://inboxapp.com/api/v1/threads/{threadId}/messages{
"teamId": "<string>",
"threadId": "<string>",
"messages": [
{
"platform": "twitter",
"teamId": "<string>",
"threadId": "<string>",
"id": "<string>",
"userId": "df6jbw4h36...",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"platformId": "1234567890",
"content": "<string>",
"campaignId": "df6jbw4h36...",
"authorId": "<string>",
"origin": "internal",
"replyData": "<unknown>",
"entities": "<unknown>",
"attachment": "<unknown>",
"reactions": [
"<unknown>"
]
}
],
"nextCursor": {
"timestamp": "2023-11-07T05:31:56Z",
"id": "<string>"
}
}The ID of the thread to list messages from.
Pagination cursor. Omit to start from the beginning. Use the nextCursor returned from the previous response to fetch the next page.
Maximum number of messages to return per page. Defaults to 50, maximum 100.
1 <= x <= 100OK
Show child attributes
The platform the message was sent from.
twitter, sandbox The Inbox ID of the message.
The Inbox user who sent this message if applicable.
"df6jbw4h36..."
"1234567890"
The Inbox campaign ID that sent this message if applicable.
"df6jbw4h36..."
Will either be the accountLinkId or the externalId of the thread.
The origin of the message. 'internal' means send from a user on Inbox, 'external' means synced from Twitter, 'api' means sent via the API.
internal, external, api "internal"
The reply data of the message if applicable.
The entities of the message if applicable.
The attachment of the message if applicable.
The reactions of the message if applicable.