Mark a LinkedIn conversation read or unread

PATCH
/linkedin-inbox/chats/{chatId}/read

Marks a conversation read (value: true) or unread (value: false), on LinkedIn too.

The read state of a conversation of a LinkedIn inbox the account does not subscribe to (for example a Sales Navigator conversation once the subscription ended) cannot change: the request then succeeds and leaves the conversation as it is.

Errors. 400 INVALID_REQUEST, 404 CONVERSATION_NOT_FOUND, 409 ACCOUNT_DISCONNECTED, 429 RATE_LIMITED.

Authorization

apiKey
Authorization<token>

Your 48 character API key, sent as is (a Bearer prefix is tolerated). Create it at https://v3.emelia.io/settings/api.

In: header

Path Parameters

chatId*string

id of a conversation, from GET /linkedin-inbox/chats or GET /linkedin-inbox/search.

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

application/json

curl -X PATCH "https://example.com/linkedin-inbox/chats/Hk3pX8vQTqOAb1sZ0mN4yw/read" \  -H "Authorization: YOUR_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "value": true  }'
{  "success": true}