POST /tasks/{task_id}/publishing-intents
1 min
POST
https://api.cmp.optimizely.com/v3/tasks/{task_id}/publishing-intents
task_idstringUnique identifier of the task
acceptstringGenerated from available response content types
bodyobjectPayload to create a publishing intent
201Created publishing intent for the task
400Client error
401Authorization error
403Permission error
404Not found error
curl --request POST \
--url https://api.cmp.optimizely.com/v3/tasks/{task_id}/publishing-intents \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"channel_id": "6a2fd16faec3bed9c72f7d4f"
}'