POST /tasks/{task_id}/urls
1 min
POST
https://api.cmp.optimizely.com/v3/tasks/{task_id}/urls
task_idstringUnique identifier of the task
acceptstringGenerated from available response content types
bodyobjectPayload to add a URL to a task
201Created task URL
400Client error
401Authorization error
403Permission error
404Not found error
422Unprocessable entity error
curl --request POST \
--url https://api.cmp.optimizely.com/v3/tasks/{task_id}/urls \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"url": "https://www.google.com"
}'