Skip to main content
POST
Send a unibox LinkedIn message

Authorizations

Authorization
string
header
required

API key from Settings → API. Send it as Authorization: Bearer .

Headers

x-impersonate-user-id
string

ID of an organization member to act on behalf of. The API key user must be the owner of the organization and the target user must belong to the same organization.

Body

multipart/form-data
chatId
string
required

Internal unibox thread id returned as id by GET /v1/unibox/threads. This is not the LinkedIn conversationUrn.

message
string

Text message to send. Optional only when sending a file or voiceMessage.

Example:

"Hi, thanks for your reply."

file
file

Optional file attachment. Do not send together with voiceMessage.

voiceMessage
file

Optional voice message attachment. Do not send together with file.

Response

201 - application/json

Message sent successfully.

id
number
required

Incremental message id

threadId
number
required

Parent thread id

userId
number
required

Owner user id

senderIsSelf
boolean
required

True when the sender is the seat owner

createdAt
string<date-time>
required

Timestamp the row was persisted in Gojiberry

seatId
number | null

LinkedIn seat id that received/sent the message

linkedinMessageBackendUrn
string | null

LinkedIn's message backend URN (urn:li:messagingMessage:…).

senderUrn
string | null

LinkedIn URN of the sender

senderFullName
string | null

Full name of the sender

content
string | null

Message content

attachments
object[] | null

Attachments attached to the message

deliveredAt
string<date-time> | null

Timestamp LinkedIn assigned when the message was delivered.