Engagement / REST API
Save comment draft
Save a caller-authored comment as a reviewable draft for a tracked post. It never posts to LinkedIn.
POST /api/v1/engagement/comment-draftsDeterministic operationParameters
workspaceIdOptional · string- Optional with API key auth, inferred from the key.
trackedPostIdRequired · string- See the input schema for this field.
linkedinAccountIdRequired · string- See the input schema for this field.
commentRequired · string- See the input schema for this field.
alternativesOptional · array- See the input schema for this field.
confidenceScoreOptional · number- See the input schema for this field.
reasoningOptional · string- See the input schema for this field.
curl -X POST "https://app.pipeline.help/api/v1/engagement/comment-drafts" \
-H "Authorization: Bearer $PIPELINE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"trackedPostId":"00000000-0000-4000-8000-000000000000","linkedinAccountId":"00000000-0000-4000-8000-000000000000","comment":"example"}'Full input schema
{
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"description": "Optional with API key auth, inferred from the key."
},
"trackedPostId": {
"type": "string"
},
"linkedinAccountId": {
"type": "string"
},
"comment": {
"type": "string"
},
"alternatives": {
"type": "array",
"items": {
"type": "string"
}
},
"confidenceScore": {
"type": "number"
},
"reasoning": {
"type": "string"
}
},
"required": [
"trackedPostId",
"linkedinAccountId",
"comment"
]
}