Skip to main content
GET
Returns messages for a specific conversation with pagination support using continuation tokens.

Request

string
required
Your API key
string
required
The conversation/chat ID to fetch messages from
string
required
The LinkedIn sender account ID that owns this conversation
integer
default:"50"
Number of messages to return (max: 100)
string
Token for fetching the next page of messages. Returned in the previous response.

Response

string
The conversation ID
array
Array of message objects
object
Pagination metadata
The accountId parameter is required to verify that the conversation belongs to a LinkedIn account in your workspace.
Use the continuationToken from the response to fetch older messages. Pass it as a query parameter in subsequent requests.

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

conversationId
string
required

The conversation/chat ID to fetch messages from

Query Parameters

accountId
string
required

The LinkedIn sender account ID that owns this conversation

limit
integer
default:50

Number of messages to return (max 100)

Required range: 1 <= x <= 100
continuationToken
string

Token for fetching the next page of messages. Returned in the previous response.

Response

Conversation messages

conversationId
string
required
messages
object[]
required
pagination
object
required