Dev GuideRecipesAPI ReferenceChangelog
Dev GuideAPI ReferenceChangelogUser GuideDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference

POST /milestones

Experimental Creates a milestone. Defaults to the organization's campaign if campaign_id is omitted. Tasks are validated against the selected campaign and must belong to it.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Payload to create a milestone

string
required
length between 1 and 80

Title of the milestone. This should be between 1 and 80 characters.

string | null

Description of the milestone. If provided, this should be between 1 and 250 characters.

string

Id of the campaign to be associated with the milestone

date-time
required

Date and time on which the milestone will expire, in ISO 8601 UTC format

string
required

Hex color code for the milestone label

tasks
array of objects

List of tasks to be associated with the milestone

tasks
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json