Skip to main content
POST
Generate or improve reply draft

Authorizations

X-API-Key
string
header
required

API Key for authentication

Path Parameters

replyId
string
required

Body

application/json
replyId
string<uuid>
required

Reply card ID (replyId of the reply list).

ownerId
string<uuid>
required

LinkedIn account owner whose comment received the reply. Often a managed account rather than the authenticated user — call user_list-shared first and pick the owner whose LinkedIn profile published the comment.

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"