ProjectFlow Pre-Launch

Meilensteine

Termine und Etappenziele eines Projekts.

Die Referenz wird aus der englischen OpenAPI-Spezifikation erzeugt und ist deshalb auf Englisch.

List milestones

GET/projects/{projectId}/milestones

Scope readBerechtigung projects:read

Pfadparameter

  • projectIdstringPflicht

Query-Parameter

  • limitinteger1 to 200 · Standard: 100

    Page size.

  • cursorstring

    Opaque cursor from the previous response's nextCursor.

Antwort 200

Success.

  • milestonesarray of Milestone
    8 Attribute anzeigen
    • idstringPflicht
    • titlestring
    • descriptionstring
    • statusstring

      Default Pending.

    • dueDatestring
    • createdAtstring (date-time)
    • updatedAtstring (date-time)
    • externalExternalMap

      External references by source. Source keys match ^[a-z][a-z0-9_-]{1,31}$, max 5.

      1 Attribut anzeigen
      • <key>External

        External reference to an object in another system.

        5 Attribute anzeigen
        • customerIdstring
        • refstringmax 200 characters
        • labelstringmax 120 characters
        • urlstring (uri)max 2048 characters

          http or https.

        • metaobject

          Flat object, max 20 keys; values string (max 500), number, boolean or null.

  • nextCursorstring | null
  • totalinteger

Fehler

  • 400invalid_request: malformed body, missing field, invalid cursor.
  • 401unauthorized: missing, invalid or revoked token.
  • 403forbidden or a plan code (plan-api-read-only, plan-api-disabled, plan-webhooks): missing scope or permission, or the plan does not allow it.
  • 404not_found.
  • 429rate_limited or daily_write_limit.

Alle Fehlercodes

Anfrage
curl "https://api.getprojectflow.com/v1/projects/PROJECT_ID/milestones?limit=50" \
  -H "Authorization: Bearer pfat_YOUR_TOKEN"
const res = await fetch('https://api.getprojectflow.com/v1/projects/PROJECT_ID/milestones?limit=50', {
  headers: {
    Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
  },
});
const data = await res.json();
import os
import requests

res = requests.get(
    "https://api.getprojectflow.com/v1/projects/PROJECT_ID/milestones?limit=50",
    headers={
        "Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
    },
)
data = res.json()
var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/projects/PROJECT_ID/milestones?limit=50")!)
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")

let (data, response) = try await URLSession.shared.data(for: request)
Antwort · 200JSON
{
  "success": true,
  "milestones": [
    {
      "id": "milestone_1",
      "title": "Prepare kickoff",
      "description": "Short description",
      "status": "In Progress",
      "dueDate": "2026-11-02",
      "createdAt": "2026-11-02T09:00:00.000Z",
      "updatedAt": "2026-11-02T09:00:00.000Z",
      "external": {}
    }
  ],
  "nextCursor": null,
  "total": 1,
  "requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}

Create milestone

POST/projects/{projectId}/milestones

Scope projects:writeBerechtigung projects:write

Requires title.

Pfadparameter

  • projectIdstringPflicht

Request-Body application/json

  • titlestringPflicht
  • descriptionstring
  • statusstring
  • dueDatestring
  • externalExternalInput

    Write form of external (scope external:write). Each source is replaced as a whole, other sources stay; null removes a source.

    1 Attribut anzeigen
    • <key>External | object | null

      External reference to an object in another system.

      5 Attribute anzeigen
      • customerIdstring
      • refstringmax 200 characters
      • labelstringmax 120 characters
      • urlstring (uri)max 2048 characters

        http or https.

      • metaobject

        Flat object, max 20 keys; values string (max 500), number, boolean or null.

        1 Attribut anzeigen
        • <key>string | number | boolean | null

Antwort 201

Created.

  • milestoneMilestone

    A milestone. The stored document may carry more fields than listed.

    8 Attribute anzeigen
    • idstringPflicht
    • titlestring
    • descriptionstring
    • statusstring

      Default Pending.

    • dueDatestring
    • createdAtstring (date-time)
    • updatedAtstring (date-time)
    • externalExternalMap

      External references by source. Source keys match ^[a-z][a-z0-9_-]{1,31}$, max 5.

      1 Attribut anzeigen
      • <key>External

        External reference to an object in another system.

        5 Attribute anzeigen
        • customerIdstring
        • refstringmax 200 characters
        • labelstringmax 120 characters
        • urlstring (uri)max 2048 characters

          http or https.

        • metaobject

          Flat object, max 20 keys; values string (max 500), number, boolean or null.

Fehler

  • 400invalid_request: malformed body, missing field, invalid cursor.
  • 401unauthorized: missing, invalid or revoked token.
  • 403forbidden or a plan code (plan-api-read-only, plan-api-disabled, plan-webhooks): missing scope or permission, or the plan does not allow it.
  • 404not_found.
  • 409conflict, e.g. webhook limit reached.
  • 429rate_limited or daily_write_limit.

Alle Fehlercodes

Anfrage
curl -X POST "https://api.getprojectflow.com/v1/projects/PROJECT_ID/milestones" \
  -H "Authorization: Bearer pfat_YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "Prepare kickoff",
  "description": "Short description",
  "status": "In Progress",
  "dueDate": "2026-11-02"
}'
const res = await fetch('https://api.getprojectflow.com/v1/projects/PROJECT_ID/milestones', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    title: 'Prepare kickoff',
    description: 'Short description',
    status: 'In Progress',
    dueDate: '2026-11-02'
  }),
});
const data = await res.json();
import os
import requests

res = requests.post(
    "https://api.getprojectflow.com/v1/projects/PROJECT_ID/milestones",
    headers={
        "Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
    },
    json={
        "title": "Prepare kickoff",
        "description": "Short description",
        "status": "In Progress",
        "dueDate": "2026-11-02"
    },
)
data = res.json()
var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/projects/PROJECT_ID/milestones")!)
request.httpMethod = "POST"
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let body: [String: Any] = [
    "title": "Prepare kickoff",
    "description": "Short description",
    "status": "In Progress",
    "dueDate": "2026-11-02",
]
request.httpBody = try JSONSerialization.data(withJSONObject: body)

let (data, response) = try await URLSession.shared.data(for: request)
Antwort · 201JSON
{
  "success": true,
  "milestone": {
    "id": "milestone_1",
    "title": "Prepare kickoff",
    "description": "Short description",
    "status": "In Progress",
    "dueDate": "2026-11-02",
    "createdAt": "2026-11-02T09:00:00.000Z",
    "updatedAt": "2026-11-02T09:00:00.000Z",
    "external": {}
  },
  "requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}

Get milestone

GET/projects/{projectId}/milestones/{milestoneId}

Scope readBerechtigung projects:read

Pfadparameter

  • projectIdstringPflicht
  • milestoneIdstringPflicht

Antwort 200

Success.

  • milestoneMilestone

    A milestone. The stored document may carry more fields than listed.

    8 Attribute anzeigen
    • idstringPflicht
    • titlestring
    • descriptionstring
    • statusstring

      Default Pending.

    • dueDatestring
    • createdAtstring (date-time)
    • updatedAtstring (date-time)
    • externalExternalMap

      External references by source. Source keys match ^[a-z][a-z0-9_-]{1,31}$, max 5.

      1 Attribut anzeigen
      • <key>External

        External reference to an object in another system.

        5 Attribute anzeigen
        • customerIdstring
        • refstringmax 200 characters
        • labelstringmax 120 characters
        • urlstring (uri)max 2048 characters

          http or https.

        • metaobject

          Flat object, max 20 keys; values string (max 500), number, boolean or null.

Fehler

  • 400invalid_request: malformed body, missing field, invalid cursor.
  • 401unauthorized: missing, invalid or revoked token.
  • 403forbidden or a plan code (plan-api-read-only, plan-api-disabled, plan-webhooks): missing scope or permission, or the plan does not allow it.
  • 404not_found.
  • 429rate_limited or daily_write_limit.

Alle Fehlercodes

Anfrage
curl "https://api.getprojectflow.com/v1/projects/PROJECT_ID/milestones/MILESTONE_ID" \
  -H "Authorization: Bearer pfat_YOUR_TOKEN"
const res = await fetch('https://api.getprojectflow.com/v1/projects/PROJECT_ID/milestones/MILESTONE_ID', {
  headers: {
    Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
  },
});
const data = await res.json();
import os
import requests

res = requests.get(
    "https://api.getprojectflow.com/v1/projects/PROJECT_ID/milestones/MILESTONE_ID",
    headers={
        "Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
    },
)
data = res.json()
var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/projects/PROJECT_ID/milestones/MILESTONE_ID")!)
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")

let (data, response) = try await URLSession.shared.data(for: request)
Antwort · 200JSON
{
  "success": true,
  "milestone": {
    "id": "milestone_1",
    "title": "Prepare kickoff",
    "description": "Short description",
    "status": "In Progress",
    "dueDate": "2026-11-02",
    "createdAt": "2026-11-02T09:00:00.000Z",
    "updatedAt": "2026-11-02T09:00:00.000Z",
    "external": {}
  },
  "requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}

Update milestone

PATCH/projects/{projectId}/milestones/{milestoneId}

Scope projects:writeBerechtigung projects:write

Pfadparameter

  • projectIdstringPflicht
  • milestoneIdstringPflicht

Request-Body application/json

  • titlestringPflicht
  • descriptionstring
  • statusstring
  • dueDatestring
  • externalExternalInput

    Write form of external (scope external:write). Each source is replaced as a whole, other sources stay; null removes a source.

    1 Attribut anzeigen
    • <key>External | object | null

      External reference to an object in another system.

      5 Attribute anzeigen
      • customerIdstring
      • refstringmax 200 characters
      • labelstringmax 120 characters
      • urlstring (uri)max 2048 characters

        http or https.

      • metaobject

        Flat object, max 20 keys; values string (max 500), number, boolean or null.

        1 Attribut anzeigen
        • <key>string | number | boolean | null

Antwort 200

Success.

  • milestoneMilestone

    A milestone. The stored document may carry more fields than listed.

    8 Attribute anzeigen
    • idstringPflicht
    • titlestring
    • descriptionstring
    • statusstring

      Default Pending.

    • dueDatestring
    • createdAtstring (date-time)
    • updatedAtstring (date-time)
    • externalExternalMap

      External references by source. Source keys match ^[a-z][a-z0-9_-]{1,31}$, max 5.

      1 Attribut anzeigen
      • <key>External

        External reference to an object in another system.

        5 Attribute anzeigen
        • customerIdstring
        • refstringmax 200 characters
        • labelstringmax 120 characters
        • urlstring (uri)max 2048 characters

          http or https.

        • metaobject

          Flat object, max 20 keys; values string (max 500), number, boolean or null.

Fehler

  • 400invalid_request: malformed body, missing field, invalid cursor.
  • 401unauthorized: missing, invalid or revoked token.
  • 403forbidden or a plan code (plan-api-read-only, plan-api-disabled, plan-webhooks): missing scope or permission, or the plan does not allow it.
  • 404not_found.
  • 409conflict, e.g. webhook limit reached.
  • 429rate_limited or daily_write_limit.

Alle Fehlercodes

Anfrage
curl -X PATCH "https://api.getprojectflow.com/v1/projects/PROJECT_ID/milestones/MILESTONE_ID" \
  -H "Authorization: Bearer pfat_YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "Prepare kickoff",
  "description": "Short description",
  "status": "In Progress",
  "dueDate": "2026-11-02"
}'
const res = await fetch('https://api.getprojectflow.com/v1/projects/PROJECT_ID/milestones/MILESTONE_ID', {
  method: 'PATCH',
  headers: {
    Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    title: 'Prepare kickoff',
    description: 'Short description',
    status: 'In Progress',
    dueDate: '2026-11-02'
  }),
});
const data = await res.json();
import os
import requests

res = requests.patch(
    "https://api.getprojectflow.com/v1/projects/PROJECT_ID/milestones/MILESTONE_ID",
    headers={
        "Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
    },
    json={
        "title": "Prepare kickoff",
        "description": "Short description",
        "status": "In Progress",
        "dueDate": "2026-11-02"
    },
)
data = res.json()
var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/projects/PROJECT_ID/milestones/MILESTONE_ID")!)
request.httpMethod = "PATCH"
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let body: [String: Any] = [
    "title": "Prepare kickoff",
    "description": "Short description",
    "status": "In Progress",
    "dueDate": "2026-11-02",
]
request.httpBody = try JSONSerialization.data(withJSONObject: body)

let (data, response) = try await URLSession.shared.data(for: request)
Antwort · 200JSON
{
  "success": true,
  "milestone": {
    "id": "milestone_1",
    "title": "Prepare kickoff",
    "description": "Short description",
    "status": "In Progress",
    "dueDate": "2026-11-02",
    "createdAt": "2026-11-02T09:00:00.000Z",
    "updatedAt": "2026-11-02T09:00:00.000Z",
    "external": {}
  },
  "requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}

Delete milestone

DELETE/projects/{projectId}/milestones/{milestoneId}

Scope projects:writeBerechtigung projects:delete

Pfadparameter

  • projectIdstringPflicht
  • milestoneIdstringPflicht

Antwort 200

Success.

  • deletedMilestoneIdstring

Fehler

  • 400invalid_request: malformed body, missing field, invalid cursor.
  • 401unauthorized: missing, invalid or revoked token.
  • 403forbidden or a plan code (plan-api-read-only, plan-api-disabled, plan-webhooks): missing scope or permission, or the plan does not allow it.
  • 404not_found.
  • 409conflict, e.g. webhook limit reached.
  • 429rate_limited or daily_write_limit.

Alle Fehlercodes

Anfrage
curl -X DELETE "https://api.getprojectflow.com/v1/projects/PROJECT_ID/milestones/MILESTONE_ID" \
  -H "Authorization: Bearer pfat_YOUR_TOKEN"
const res = await fetch('https://api.getprojectflow.com/v1/projects/PROJECT_ID/milestones/MILESTONE_ID', {
  method: 'DELETE',
  headers: {
    Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
  },
});
const data = await res.json();
import os
import requests

res = requests.delete(
    "https://api.getprojectflow.com/v1/projects/PROJECT_ID/milestones/MILESTONE_ID",
    headers={
        "Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
    },
)
data = res.json()
var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/projects/PROJECT_ID/milestones/MILESTONE_ID")!)
request.httpMethod = "DELETE"
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")

let (data, response) = try await URLSession.shared.data(for: request)
Antwort · 200JSON
{
  "success": true,
  "deletedMilestoneId": "deletedmilestone_1",
  "requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}

↑↓ wählen, Enter öffnen, Esc schließen