Skip to content

Compose Inbox Linkedin Message

POST
/inbox/linkedin/compose

COMPOSE A LINKEDIN MESSAGE. WITH save_as_draft FALSE IT REACHES A PERSON.

ONE DRAFT PER CONVERSATION: saving over an existing draft replaces it, and sending deletes whatever draft was there. save_as_draft defaults to FALSE, which means send.

Classified external (inbox:run). The account must be synced and enabled for the inbox - check with POST /inbox/linkedin/validate-account.

Authorizations

Parameters

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

Compose a LinkedIn message: draft it, or SEND IT TO A REAL PERSON.

ONE DRAFT PER CONVERSATION. Saving a draft on a conversation that already has one REPLACES it, and sending deletes whatever draft was there.

object
assigned_users
Array<string>
conversation_id
required

An existing conversation on that account.

string
linkedin_account_id
required

The sending account. Integer id.

integer
message
required
string
save_as_draft

FALSE SENDS THE MESSAGE. True stores a draft.

boolean
tag_ids
Array<string>

Responses

200

Successful Response

object
data
required

An open envelope for a comment, an assignment or a workspace.

Open because a comment carries attachment refs and mention metadata that grow, and because an assignment result reports per-assignee outcomes.

object
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
notes
Any of:
Array<string>
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer
total_available
Any of:
integer
total_is_lower_bound
Any of:
boolean

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string