Skip to main content
POST
Generate or improve comment draft

Authorizations

X-API-Key
string
header
required

API Key for authentication

Path Parameters

postId
string
required

Body

application/json
postId
string<uuid>
required

LinkedIn post identity inside Extrovert.

ownerId
string<uuid>
required

LinkedIn account owner whose comment is addressed. Often a managed account rather than the authenticated user — call user_list-shared first and pick the owner whose LinkedIn profile runs the campaign.

campaignId
string<uuid>
required

Accessible campaign whose Voice must be used for generation.

mode
enum<string>
required

Generate writes a new draft; Improve rewrites the current draft text and requires instructions.

Available options:
Generate,
Improve
instructions
string

Plain-text direction: optional for Generate, required for Improve.

Required string length: 1 - 1250

Response

status
string
required

Response status

Allowed value: "success"
data
object
required
message
string
required

Success message

Example:

"Operation completed successfully"