Skip to main content
GET
Get conversation messages
Requires inbox:read. accountId is required, in addition to the conversation ID in the path. Use the SendPilot sender account from the conversation list. limit defaults to 50 with a maximum of 100. Pass continuationToken unchanged to page through results. Inspect the conversation before retrying a send that returned DELIVERY_UNCONFIRMED or UPSTREAM_TIMEOUT. The original message may have been delivered.

Authorizations

X-API-Key
string
header
required

API key for authentication (prefix: sp_live_ or sp_test_)

Path Parameters

conversationId
string
required

Conversation/chat ID

Example:

"2-OVp-y-UNyFXBYvx0FqmQ"

Query Parameters

accountId
string
required

LinkedIn sender ID (required to identify which account owns this conversation)

Example:

"sender_123"

limit
number
default:50

Maximum number of items to return

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

Token used for pagination when fetching more messages

Response

List of messages

conversationId
string
required

Conversation ID

Example:

"2-OVp-y-UNyFXBYvx0FqmQ"

messages
object[]
required

List of messages

pagination
object
required

Pagination information