POST /milestones
1 min
POST
https://api.cmp.optimizely.com/v3/milestones
acceptstringGenerated from available response content types
bodyobjectPayload to create a milestone
201Created milestone
400Client error
401Authorization error
403Permission error
404Not found error
curl --request POST \
--url https://api.cmp.optimizely.com/v3/milestones \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"title": "Q1 Product Launch",
"due_date": "2023-10-07T13:15:30Z",
"hex_color": "#4ECFD5",
"tasks": [
{
"id": ""
}
]
}'