Kategorien
Kategorien ordnen Aufgaben innerhalb eines Projekts.
- GET
/projects/{projectId}/categoriesList categories - POST
/projects/{projectId}/categoriesCreate category - GET
/projects/{projectId}/categories/{categoryId}Get category - PATCH
/projects/{projectId}/categories/{categoryId}Update category - DELETE
/projects/{projectId}/categories/{categoryId}Delete category
Die Referenz wird aus der englischen OpenAPI-Spezifikation erzeugt und ist deshalb auf Englisch.
List categories
GET/projects/{projectId}/categories
Scope readBerechtigung projects:read
Pfadparameter
-
projectIdstringPflicht
Query-Parameter
-
limitintegerPage size.
-
cursorstringOpaque cursor from the previous response's
nextCursor.
Antwort 200
Success.
-
categoriesarray of Category4 Attribute anzeigen
-
idstringPflicht -
namestring -
colorstring -
createdAtstring (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/categories?limit=50" \
-H "Authorization: Bearer pfat_YOUR_TOKEN"const res = await fetch('https://api.getprojectflow.com/v1/projects/PROJECT_ID/categories?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/categories?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/categories?limit=50")!)
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
let (data, response) = try await URLSession.shared.data(for: request)
{
"success": true,
"categories": [
{
"id": "category_1",
"name": "Website relaunch",
"color": "#3b82f6",
"createdAt": "2026-11-02T09:00:00.000Z"
}
],
"nextCursor": null,
"total": 1,
"requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}
Create category
POST/projects/{projectId}/categories
Scope projects:writeBerechtigung projects:write
Requires name.
Pfadparameter
-
projectIdstringPflicht
Request-Body application/json
-
namestringPflicht -
colorstring
Antwort 201
Created.
-
categoryCategoryA task category. The stored document may carry more fields than listed.
4 Attribute anzeigen
-
idstringPflicht -
namestring -
colorstring -
createdAtstring (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/categories" \
-H "Authorization: Bearer pfat_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Website relaunch",
"color": "#3b82f6"
}'const res = await fetch('https://api.getprojectflow.com/v1/projects/PROJECT_ID/categories', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: 'Website relaunch',
color: '#3b82f6'
}),
});
const data = await res.json();import os
import requests
res = requests.post(
"https://api.getprojectflow.com/v1/projects/PROJECT_ID/categories",
headers={
"Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
},
json={
"name": "Website relaunch",
"color": "#3b82f6"
},
)
data = res.json()var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/projects/PROJECT_ID/categories")!)
request.httpMethod = "POST"
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let body: [String: Any] = [
"name": "Website relaunch",
"color": "#3b82f6",
]
request.httpBody = try JSONSerialization.data(withJSONObject: body)
let (data, response) = try await URLSession.shared.data(for: request)
{
"success": true,
"category": {
"id": "category_1",
"name": "Website relaunch",
"color": "#3b82f6",
"createdAt": "2026-11-02T09:00:00.000Z"
},
"requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}
Get category
GET/projects/{projectId}/categories/{categoryId}
Scope readBerechtigung projects:read
Pfadparameter
-
projectIdstringPflicht -
categoryIdstringPflicht
Antwort 200
Success.
-
categoryCategoryA task category. The stored document may carry more fields than listed.
4 Attribute anzeigen
-
idstringPflicht -
namestring -
colorstring -
createdAtstring (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/categories/CATEGORY_ID" \
-H "Authorization: Bearer pfat_YOUR_TOKEN"const res = await fetch('https://api.getprojectflow.com/v1/projects/PROJECT_ID/categories/CATEGORY_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/categories/CATEGORY_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/categories/CATEGORY_ID")!)
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
let (data, response) = try await URLSession.shared.data(for: request)
{
"success": true,
"category": {
"id": "category_1",
"name": "Website relaunch",
"color": "#3b82f6",
"createdAt": "2026-11-02T09:00:00.000Z"
},
"requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}
Update category
PATCH/projects/{projectId}/categories/{categoryId}
Scope projects:writeBerechtigung projects:write
Pfadparameter
-
projectIdstringPflicht -
categoryIdstringPflicht
Request-Body application/json
-
namestringPflicht -
colorstring
Antwort 200
Success.
-
categoryCategoryA task category. The stored document may carry more fields than listed.
4 Attribute anzeigen
-
idstringPflicht -
namestring -
colorstring -
createdAtstring (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/categories/CATEGORY_ID" \
-H "Authorization: Bearer pfat_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Website relaunch",
"color": "#3b82f6"
}'const res = await fetch('https://api.getprojectflow.com/v1/projects/PROJECT_ID/categories/CATEGORY_ID', {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: 'Website relaunch',
color: '#3b82f6'
}),
});
const data = await res.json();import os
import requests
res = requests.patch(
"https://api.getprojectflow.com/v1/projects/PROJECT_ID/categories/CATEGORY_ID",
headers={
"Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
},
json={
"name": "Website relaunch",
"color": "#3b82f6"
},
)
data = res.json()var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/projects/PROJECT_ID/categories/CATEGORY_ID")!)
request.httpMethod = "PATCH"
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let body: [String: Any] = [
"name": "Website relaunch",
"color": "#3b82f6",
]
request.httpBody = try JSONSerialization.data(withJSONObject: body)
let (data, response) = try await URLSession.shared.data(for: request)
{
"success": true,
"category": {
"id": "category_1",
"name": "Website relaunch",
"color": "#3b82f6",
"createdAt": "2026-11-02T09:00:00.000Z"
},
"requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}
Delete category
DELETE/projects/{projectId}/categories/{categoryId}
Scope projects:writeBerechtigung projects:delete
Pfadparameter
-
projectIdstringPflicht -
categoryIdstringPflicht
Antwort 200
Success.
-
deletedCategoryIdstring
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/categories/CATEGORY_ID" \
-H "Authorization: Bearer pfat_YOUR_TOKEN"const res = await fetch('https://api.getprojectflow.com/v1/projects/PROJECT_ID/categories/CATEGORY_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/categories/CATEGORY_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/categories/CATEGORY_ID")!)
request.httpMethod = "DELETE"
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
let (data, response) = try await URLSession.shared.data(for: request)
{
"success": true,
"deletedCategoryId": "deletedcategory_1",
"requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}