API referenceLinkedin messaging
GET
/api/v1/chats/{id}/sync

Always SYNC_DONE: Swarmhit reads a chat's history from LinkedIn whenever it is asked.

Authorization

X-API-KEY<token>

Your API key from the console (gw_live_…).

In: header

Path Parameters

id*string

A LinkedIn chat id (lgc_…).

Response Body

application/json

curl -X GET "https://example.com/api/v1/chats/lgc_Q2xpZW50Q2hhdA/sync"
{  "object": "ChatHistorySync",  "chat_id": "string",  "status": "SYNC_DONE"}