Skip to content

Draft Linkedin Message

POST
/sequencer/content/linkedin/generate

Draft one contact’s LinkedIn message with an agent. SPENDS CREDITS per call.

Returns message (and subject for an InMail); nothing is saved or sent.

Authorizations

Parameters

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

Draft one contact’s LinkedIn message. Mirrors OnDemandLinkedInPayload.

object
agent_name
string
default: default-agent
contact_id
required
integer
first_name
required
string
instructions
required
string
last_name
required
string
lead_info
required
string
linkedin_action_type
required

The LinkedIn step kind the message is for, e.g. a connection request or a message.

string
step_history
Any of:
string
studio_campaign_id
Any of:
string

Responses

200

Successful Response

object
data
required

An open envelope around one sequencer record.

Open because templates, schedules and channels carry nested step data and configuration that grows as channels are added.

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