Initiativen
Initiativen bündeln größere Vorhaben innerhalb eines Projekts.
- GET
/projects/{projectId}/initiativesList initiatives - POST
/projects/{projectId}/initiativesCreate an initiative - GET
/projects/{projectId}/initiatives/{initiativeId}Get an initiative - PATCH
/projects/{projectId}/initiatives/{initiativeId}Update an initiative - DELETE
/projects/{projectId}/initiatives/{initiativeId}Delete an initiative - POST
/projects/{projectId}/initiatives/upsert-by-external-keyCreate or update an initiative by external key
Die Referenz wird aus der englischen OpenAPI-Spezifikation erzeugt und ist deshalb auf Englisch.
List initiatives
GET/projects/{projectId}/initiatives
Scope readBerechtigung initiatives:read
Pfadparameter
-
projectIdstringPflicht
Query-Parameter
-
limitintegerPage size.
-
cursorstringOpaque cursor from the previous response's
nextCursor.
Antwort 200
Success.
-
initiativesarray of Initiative14 Attribute anzeigen
-
idstringPflicht -
titlestring -
descriptionstring -
statusstring -
prioritystring -
startDatestring -
dueDatestring -
assigneeIdsarray of string -
externalKeystring -
healthstring -
successMetricstring -
outcomestring -
createdAtstring (date-time) -
updatedAtstring (date-time)
-
-
nextCursorstring | null -
totalinteger
Fehler
- 400
invalid_request: malformed body, missing field, invalid cursor. - 401
unauthorized: missing, invalid or revoked token. - 403
forbiddenor a plan code (plan-api-read-only,plan-api-disabled,plan-webhooks): missing scope or permission, or the plan does not allow it. - 404
not_found. - 429
rate_limitedordaily_write_limit.
curl "https://api.getprojectflow.com/v1/projects/PROJECT_ID/initiatives?limit=50" \
-H "Authorization: Bearer pfat_YOUR_TOKEN"const res = await fetch('https://api.getprojectflow.com/v1/projects/PROJECT_ID/initiatives?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/initiatives?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/initiatives?limit=50")!)
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
let (data, response) = try await URLSession.shared.data(for: request)
{
"success": true,
"initiatives": [
{
"id": "initiative_1",
"title": "Prepare kickoff",
"description": "Short description",
"status": "In Progress",
"priority": "High",
"startDate": "2026-11-02",
"dueDate": "2026-11-02",
"assigneeIds": [
"assignee_1"
],
"externalKey": "ticket-4711",
"health": "health",
"successMetric": "successMetric",
"outcome": "outcome",
"createdAt": "2026-11-02T09:00:00.000Z",
"updatedAt": "2026-11-02T09:00:00.000Z"
}
],
"nextCursor": null,
"total": 1,
"requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}
Create an initiative
POST/projects/{projectId}/initiatives
Scope projects:writeBerechtigung initiatives:write
Requires title.
Pfadparameter
-
projectIdstringPflicht
Request-Body application/json
-
titlestring -
descriptionstring -
statusstring -
prioritystring -
startDatestring -
dueDatestring -
assigneeIdsarray of string -
assignedGroupIdsarray of string -
externalKeystring -
sourcestring -
successMetricstring -
outcomestring -
healthstring -
completedAtstring (date-time)
Antwort 201
Created.
-
initiativeInitiativeAn initiative. The stored document may carry more fields than listed.
14 Attribute anzeigen
-
idstringPflicht -
titlestring -
descriptionstring -
statusstring -
prioritystring -
startDatestring -
dueDatestring -
assigneeIdsarray of string -
externalKeystring -
healthstring -
successMetricstring -
outcomestring -
createdAtstring (date-time) -
updatedAtstring (date-time)
-
Fehler
- 400
invalid_request: malformed body, missing field, invalid cursor. - 401
unauthorized: missing, invalid or revoked token. - 403
forbiddenor a plan code (plan-api-read-only,plan-api-disabled,plan-webhooks): missing scope or permission, or the plan does not allow it. - 404
not_found. - 409
conflict, e.g. webhook limit reached. - 429
rate_limitedordaily_write_limit.
curl -X POST "https://api.getprojectflow.com/v1/projects/PROJECT_ID/initiatives" \
-H "Authorization: Bearer pfat_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"title": "Prepare kickoff",
"description": "Short description",
"status": "In Progress",
"priority": "High",
"startDate": "2026-11-02"
}'const res = await fetch('https://api.getprojectflow.com/v1/projects/PROJECT_ID/initiatives', {
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',
priority: 'High',
startDate: '2026-11-02'
}),
});
const data = await res.json();import os
import requests
res = requests.post(
"https://api.getprojectflow.com/v1/projects/PROJECT_ID/initiatives",
headers={
"Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
},
json={
"title": "Prepare kickoff",
"description": "Short description",
"status": "In Progress",
"priority": "High",
"startDate": "2026-11-02"
},
)
data = res.json()var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/projects/PROJECT_ID/initiatives")!)
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",
"priority": "High",
"startDate": "2026-11-02",
]
request.httpBody = try JSONSerialization.data(withJSONObject: body)
let (data, response) = try await URLSession.shared.data(for: request)
{
"success": true,
"initiative": {
"id": "initiative_1",
"title": "Prepare kickoff",
"description": "Short description",
"status": "In Progress",
"priority": "High",
"startDate": "2026-11-02",
"dueDate": "2026-11-02",
"assigneeIds": [
"assignee_1"
],
"externalKey": "ticket-4711",
"health": "health",
"successMetric": "successMetric",
"outcome": "outcome",
"createdAt": "2026-11-02T09:00:00.000Z",
"updatedAt": "2026-11-02T09:00:00.000Z"
},
"requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}
Get an initiative
GET/projects/{projectId}/initiatives/{initiativeId}
Scope readBerechtigung initiatives:read
Pfadparameter
-
projectIdstringPflicht -
initiativeIdstringPflicht
Antwort 200
Success.
-
initiativeInitiativeAn initiative. The stored document may carry more fields than listed.
14 Attribute anzeigen
-
idstringPflicht -
titlestring -
descriptionstring -
statusstring -
prioritystring -
startDatestring -
dueDatestring -
assigneeIdsarray of string -
externalKeystring -
healthstring -
successMetricstring -
outcomestring -
createdAtstring (date-time) -
updatedAtstring (date-time)
-
Fehler
- 400
invalid_request: malformed body, missing field, invalid cursor. - 401
unauthorized: missing, invalid or revoked token. - 403
forbiddenor a plan code (plan-api-read-only,plan-api-disabled,plan-webhooks): missing scope or permission, or the plan does not allow it. - 404
not_found. - 429
rate_limitedordaily_write_limit.
curl "https://api.getprojectflow.com/v1/projects/PROJECT_ID/initiatives/INITIATIVE_ID" \
-H "Authorization: Bearer pfat_YOUR_TOKEN"const res = await fetch('https://api.getprojectflow.com/v1/projects/PROJECT_ID/initiatives/INITIATIVE_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/initiatives/INITIATIVE_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/initiatives/INITIATIVE_ID")!)
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
let (data, response) = try await URLSession.shared.data(for: request)
{
"success": true,
"initiative": {
"id": "initiative_1",
"title": "Prepare kickoff",
"description": "Short description",
"status": "In Progress",
"priority": "High",
"startDate": "2026-11-02",
"dueDate": "2026-11-02",
"assigneeIds": [
"assignee_1"
],
"externalKey": "ticket-4711",
"health": "health",
"successMetric": "successMetric",
"outcome": "outcome",
"createdAt": "2026-11-02T09:00:00.000Z",
"updatedAt": "2026-11-02T09:00:00.000Z"
},
"requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}
Update an initiative
PATCH/projects/{projectId}/initiatives/{initiativeId}
Scope projects:writeBerechtigung initiatives:write
Pfadparameter
-
projectIdstringPflicht -
initiativeIdstringPflicht
Request-Body application/json
-
titlestring -
descriptionstring -
statusstring -
prioritystring -
startDatestring -
dueDatestring -
assigneeIdsarray of string -
assignedGroupIdsarray of string -
externalKeystring -
sourcestring -
successMetricstring -
outcomestring -
healthstring -
completedAtstring (date-time)
Antwort 200
Success.
-
initiativeInitiativeAn initiative. The stored document may carry more fields than listed.
14 Attribute anzeigen
-
idstringPflicht -
titlestring -
descriptionstring -
statusstring -
prioritystring -
startDatestring -
dueDatestring -
assigneeIdsarray of string -
externalKeystring -
healthstring -
successMetricstring -
outcomestring -
createdAtstring (date-time) -
updatedAtstring (date-time)
-
Fehler
- 400
invalid_request: malformed body, missing field, invalid cursor. - 401
unauthorized: missing, invalid or revoked token. - 403
forbiddenor a plan code (plan-api-read-only,plan-api-disabled,plan-webhooks): missing scope or permission, or the plan does not allow it. - 404
not_found. - 409
conflict, e.g. webhook limit reached. - 429
rate_limitedordaily_write_limit.
curl -X PATCH "https://api.getprojectflow.com/v1/projects/PROJECT_ID/initiatives/INITIATIVE_ID" \
-H "Authorization: Bearer pfat_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"title": "Prepare kickoff",
"description": "Short description",
"status": "In Progress",
"priority": "High",
"startDate": "2026-11-02"
}'const res = await fetch('https://api.getprojectflow.com/v1/projects/PROJECT_ID/initiatives/INITIATIVE_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',
priority: 'High',
startDate: '2026-11-02'
}),
});
const data = await res.json();import os
import requests
res = requests.patch(
"https://api.getprojectflow.com/v1/projects/PROJECT_ID/initiatives/INITIATIVE_ID",
headers={
"Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
},
json={
"title": "Prepare kickoff",
"description": "Short description",
"status": "In Progress",
"priority": "High",
"startDate": "2026-11-02"
},
)
data = res.json()var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/projects/PROJECT_ID/initiatives/INITIATIVE_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",
"priority": "High",
"startDate": "2026-11-02",
]
request.httpBody = try JSONSerialization.data(withJSONObject: body)
let (data, response) = try await URLSession.shared.data(for: request)
{
"success": true,
"initiative": {
"id": "initiative_1",
"title": "Prepare kickoff",
"description": "Short description",
"status": "In Progress",
"priority": "High",
"startDate": "2026-11-02",
"dueDate": "2026-11-02",
"assigneeIds": [
"assignee_1"
],
"externalKey": "ticket-4711",
"health": "health",
"successMetric": "successMetric",
"outcome": "outcome",
"createdAt": "2026-11-02T09:00:00.000Z",
"updatedAt": "2026-11-02T09:00:00.000Z"
},
"requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}
Delete an initiative
DELETE/projects/{projectId}/initiatives/{initiativeId}
Scope projects:writeBerechtigung initiatives:delete
Pfadparameter
-
projectIdstringPflicht -
initiativeIdstringPflicht
Antwort 200
Success.
-
deletedInitiativeIdstring
Fehler
- 400
invalid_request: malformed body, missing field, invalid cursor. - 401
unauthorized: missing, invalid or revoked token. - 403
forbiddenor a plan code (plan-api-read-only,plan-api-disabled,plan-webhooks): missing scope or permission, or the plan does not allow it. - 404
not_found. - 409
conflict, e.g. webhook limit reached. - 429
rate_limitedordaily_write_limit.
curl -X DELETE "https://api.getprojectflow.com/v1/projects/PROJECT_ID/initiatives/INITIATIVE_ID" \
-H "Authorization: Bearer pfat_YOUR_TOKEN"const res = await fetch('https://api.getprojectflow.com/v1/projects/PROJECT_ID/initiatives/INITIATIVE_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/initiatives/INITIATIVE_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/initiatives/INITIATIVE_ID")!)
request.httpMethod = "DELETE"
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
let (data, response) = try await URLSession.shared.data(for: request)
{
"success": true,
"deletedInitiativeId": "deletedinitiative_1",
"requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}
Create or update an initiative by external key
POST/projects/{projectId}/initiatives/upsert-by-external-key
Scope projects:writeBerechtigung initiatives:write
Updates the initiative with externalKey (200) or creates it (201). Idempotent.
Pfadparameter
-
projectIdstringPflicht
Request-Body application/json
-
titlestring -
descriptionstring -
statusstring -
prioritystring -
startDatestring -
dueDatestring -
assigneeIdsarray of string -
assignedGroupIdsarray of string -
externalKeystringPflicht -
sourcestring -
successMetricstring -
outcomestring -
healthstring -
completedAtstring (date-time)
Antwort 200
Updated.
-
operationstringErlaubte Werte:
updated -
initiativeInitiativeAn initiative. The stored document may carry more fields than listed.
14 Attribute anzeigen
-
idstringPflicht -
titlestring -
descriptionstring -
statusstring -
prioritystring -
startDatestring -
dueDatestring -
assigneeIdsarray of string -
externalKeystring -
healthstring -
successMetricstring -
outcomestring -
createdAtstring (date-time) -
updatedAtstring (date-time)
-
Fehler
- 400
invalid_request: malformed body, missing field, invalid cursor. - 401
unauthorized: missing, invalid or revoked token. - 403
forbiddenor a plan code (plan-api-read-only,plan-api-disabled,plan-webhooks): missing scope or permission, or the plan does not allow it. - 404
not_found. - 409
conflict, e.g. webhook limit reached. - 429
rate_limitedordaily_write_limit.
curl -X POST "https://api.getprojectflow.com/v1/projects/PROJECT_ID/initiatives/upsert-by-external-key" \
-H "Authorization: Bearer pfat_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"externalKey": "ticket-4711",
"title": "Prepare kickoff",
"description": "Short description",
"status": "In Progress",
"priority": "High"
}'const res = await fetch('https://api.getprojectflow.com/v1/projects/PROJECT_ID/initiatives/upsert-by-external-key', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
externalKey: 'ticket-4711',
title: 'Prepare kickoff',
description: 'Short description',
status: 'In Progress',
priority: 'High'
}),
});
const data = await res.json();import os
import requests
res = requests.post(
"https://api.getprojectflow.com/v1/projects/PROJECT_ID/initiatives/upsert-by-external-key",
headers={
"Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
},
json={
"externalKey": "ticket-4711",
"title": "Prepare kickoff",
"description": "Short description",
"status": "In Progress",
"priority": "High"
},
)
data = res.json()var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/projects/PROJECT_ID/initiatives/upsert-by-external-key")!)
request.httpMethod = "POST"
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let body: [String: Any] = [
"externalKey": "ticket-4711",
"title": "Prepare kickoff",
"description": "Short description",
"status": "In Progress",
"priority": "High",
]
request.httpBody = try JSONSerialization.data(withJSONObject: body)
let (data, response) = try await URLSession.shared.data(for: request)
{
"success": true,
"operation": "updated",
"initiative": {
"id": "initiative_1",
"title": "Prepare kickoff",
"description": "Short description",
"status": "In Progress",
"priority": "High",
"startDate": "2026-11-02",
"dueDate": "2026-11-02",
"assigneeIds": [
"assignee_1"
],
"externalKey": "ticket-4711",
"health": "health",
"successMetric": "successMetric",
"outcome": "outcome",
"createdAt": "2026-11-02T09:00:00.000Z",
"updatedAt": "2026-11-02T09:00:00.000Z"
},
"requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}