JavaScript SDK: swarmhit.inbox.chats.sync(chatId, params?)
New messages normally arrive on their own; this pulls the latest page of the thread now. limit 1–250, default 50. notFound when LinkedIn no longer has the thread; email chats answer skipped: email and WhatsApp chats skipped: whatsapp.
Authorization
bearerAuth AuthorizationBearer <token>
An API key created on the Access tokens page.
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/inbox/chats/string/sync" \ -H "Content-Type: application/json" \ -d '{}'{ "data": { "count": 0, "notFound": true, "skipped": "email" }}