chat

Read messages from a conversation

Changed on

Fetch messages from a specific LinkedIn conversation.

Pass the full conversationUrn as a query parameter, as returned by /chats/linkedin or /chats/linkedin/search. No parsing required: the server handles extraction internally.

Example: GET /chats/linkedin/messages?conversationUrn=urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)

get/chats/linkedin/messages

Request

  • Base URL: https://api.bereach.ai
  • URL: https://api.bereach.ai/chats/linkedin/messages
  • Auth: HTTP bearer

Query parameters

conversationUrnstring required

Full conversation URN as returned by /chats/linkedin (e.g. 'urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)')

deliveredAtinteger

Timestamp (ms) of the oldest message from previous page: pass this to load older messages

Response

Conversation messages

successtrue required
prevCursorinteger nullable required

deliveredAt timestamp (ms) of the oldest message: pass as 'deliveredAt' to load older messages. Null when no more messages.

creditsUsedinteger required

Credits this call spent, net of anything given back. 0 when nothing was charged: a free read, a cached answer, nothing delivered.

retryAfterinteger required

Seconds to wait before another call of the same type. 0 means no wait is needed.

Changes