POST /work-requests/{id}/campaigns
1 min
POST
https://api.cmp.optimizely.com/v3/work-requests/{id}/campaigns
idstringUnique identifier of the work request
acceptstringGenerated from available response content types
bodyobjectPayload to create a campaign
201Created a campaign from a work request
400Client error
401Authorization error
403Permission error
404Not found error
curl --request POST \
--url https://api.cmp.optimizely.com/v3/work-requests/{id}/campaigns \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"title": "The awesome campaign"
}'