Skip to main content
POST
/
milestones
Create a milestone
curl --request POST \
  --url https://slog.ai/milestones \
  --header 'Content-Type: application/json' \
  --header 'slog-api-key: <api-key>' \
  --data '
{
  "name": "Beta Launch",
  "status": "PLANNING",
  "description": "First public beta release.",
  "startDate": "2026-05-01",
  "dueDate": "2026-07-01"
}
'
{
  "milestone": {
    "id": "mile_01jqmile0001",
    "reference": "ENG-M1",
    "name": "Beta Launch",
    "description": "First public beta release.",
    "startDate": "2026-05-01",
    "dueDate": "2026-07-01",
    "labels": [
      {
        "id": "label_01jqlabel001",
        "name": "bug",
        "color": "#EF4444"
      }
    ],
    "createdAt": "2026-04-01T08:00:00.000Z",
    "updatedAt": "2026-05-01T10:00:00.000Z"
  }
}

Authorizations

slog-api-key
string
header
required

API key obtained from the Slog dashboard or returned by the signup/invite-redeem flows. Pass as the slog-api-key header.

Body

application/json
name
string
required
Example:

"Beta Launch"

status
enum<string>

Lifecycle status of a milestone.

Available options:
PLANNING,
ACTIVE,
COMPLETED,
CANCELLED
description
string
Example:

"First public beta release."

startDate
string<date>
Example:

"2026-05-01"

dueDate
string<date>
Example:

"2026-07-01"

Response

Milestone created.

milestone
object