latestOpenAPI 3.1.02026-08-1021368.3 KB

50679caad756

Milestones

Create milestone

Create a milestone. Returns HTTP 201 Created on success.

Permissions: Requires write access to the site (manage:{site_id}).

Returns: A milestone object.

post/sites/{site_id}/milestones

Path parameters

site_idstring required
Example:CDBUGS

The ID of the site. This is the same string you use in your tracking code. Example: CDBUGS

Request body

namestring required

The name of the milestone (up to 30 characters).

milestone_datestring required

The date of the milestone in YYYY-MM-DD format.

Example request

{
  "name": "Website Redesign Launch",
  "milestone_date": "2024-01-15"
}

Response

Successful response