Building a webhook integration? Read the webhook guide for signatures, retries, event schemas, and troubleshooting.
apiDeterministic

Submit content reference analysis

PUT /api/v1/content/inspiration/{postId}/analyze

Validate and save caller-authored reference analysis using the source SHA-256 hash. No hosted AI call. Extract an unchanged opening hook; do not infer spoken hooks.

Parameters

workspaceId
string
No description.
postIdrequired
string
No description.
contentHashrequired
string
No description.
analysisrequired
object
No description.

Example

REST requestbash
curl -X PUT "https://app.pipeline.help/api/v1/content/inspiration/00000000-0000-4000-8000-000000000001/analyze" \
-H "Authorization: Bearer $PIPELINE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"contentHash":"5cc4476591bb3df248323b120445833dff9a4a11e16f2177ec6eca6eedf8f0c8","analysis":{"postType":"thought_leadership","hookStyle":"question","bodyStructure":"insight_framework","ctaStyle":"question","whyItWorks":"A specific opening question gives the reader a clear problem to consider.","tags":["writing"],"reference":{"exactHook":"What changes when you write for one reader?","topic":"Writing for a specific reader","pattern":["Open with a focused question"],"ideaSeed":"Explain how choosing one reader changes a draft."}}}'

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"data": {
"type": "object"
}
}
}

HTTP errors

401
Missing or invalid API key.
403
Authenticated but not permitted for the workspace or resource.
404
The requested resource was not found.
Pipeline REST API reference | Pipeline