ProjectFlow Pre-Launch

Webhook-Endpunkte

Webhook-Endpunkte per API verwalten. Ereignisse, Signaturen und Wiederholungen stehen im Webhooks-Leitfaden.

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

List webhook endpoints

GET/webhooks

Scope webhooks:manageBerechtigung webhooks:manage

Secrets are never returned. Needs Owner/Admin as token creator and a plan with webhooks.

Antwort 200

Success.

  • allowedboolean
  • eventTypesarray of string
  • webhooksarray of Webhook
    6 Attribute anzeigen
    • idstring
    • urlstring
    • eventsarray of string

      Erlaubte Werte: project.created project.updated project.archived project.deleted task.created task.updated task.completed task.reopened task.assigned task.deleted milestone.created milestone.updated milestone.completed comment.created

    • descriptionstring
    • enabledboolean
    • createdAtstring (date-time)

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 "https://api.getprojectflow.com/v1/webhooks" \
  -H "Authorization: Bearer pfat_YOUR_TOKEN"
const res = await fetch('https://api.getprojectflow.com/v1/webhooks', {
  headers: {
    Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
  },
});
const data = await res.json();
import os
import requests

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

let (data, response) = try await URLSession.shared.data(for: request)
Antwort · 200JSON
{
  "success": true,
  "allowed": false,
  "eventTypes": [
    "eventType"
  ],
  "webhooks": [
    {
      "id": "webhook_1",
      "url": "https://app.getprojectflow.com/project/proj_1",
      "events": [
        "project.created"
      ],
      "description": "Short description",
      "enabled": false,
      "createdAt": "2026-11-02T09:00:00.000Z"
    }
  ],
  "requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}

Create a webhook endpoint

POST/webhooks

Scope webhooks:manageBerechtigung webhooks:manage

Returns the signing secret once. Max 10 endpoints per workspace. https only, ports 443/8443, no private addresses.

Request-Body application/json

  • urlstring (uri)Pflicht

    HTTPS endpoint.

  • eventsarray of stringPflicht

    Erlaubte Werte: project.created project.updated project.archived project.deleted task.created task.updated task.completed task.reopened task.assigned task.deleted milestone.created milestone.updated milestone.completed comment.created

  • descriptionstring

Antwort 201

Created.

  • webhookWebhook
    6 Attribute anzeigen
    • idstring
    • urlstring
    • eventsarray of string

      Erlaubte Werte: project.created project.updated project.archived project.deleted task.created task.updated task.completed task.reopened task.assigned task.deleted milestone.created milestone.updated milestone.completed comment.created

    • descriptionstring
    • enabledboolean
    • createdAtstring (date-time)
  • secretstring

    Signing secret. Shown only in this response.

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/webhooks" \
  -H "Authorization: Bearer pfat_YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://app.getprojectflow.com/project/proj_1",
  "events": [
    "project.created"
  ],
  "description": "Short description"
}'
const res = await fetch('https://api.getprojectflow.com/v1/webhooks', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    url: 'https://app.getprojectflow.com/project/proj_1',
    events: [
      'project.created'
    ],
    description: 'Short description'
  }),
});
const data = await res.json();
import os
import requests

res = requests.post(
    "https://api.getprojectflow.com/v1/webhooks",
    headers={
        "Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
    },
    json={
        "url": "https://app.getprojectflow.com/project/proj_1",
        "events": [
            "project.created"
        ],
        "description": "Short description"
    },
)
data = res.json()
var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/webhooks")!)
request.httpMethod = "POST"
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let body: [String: Any] = [
    "url": "https://app.getprojectflow.com/project/proj_1",
    "events": [
        "project.created",
    ],
    "description": "Short description",
]
request.httpBody = try JSONSerialization.data(withJSONObject: body)

let (data, response) = try await URLSession.shared.data(for: request)
Antwort · 201JSON
{
  "success": true,
  "webhook": {
    "id": "webhook_1",
    "url": "https://app.getprojectflow.com/project/proj_1",
    "events": [
      "project.created"
    ],
    "description": "Short description",
    "enabled": false,
    "createdAt": "2026-11-02T09:00:00.000Z"
  },
  "secret": "secret",
  "requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}

Update a webhook endpoint

PATCH/webhooks/{webhookId}

Scope webhooks:manageBerechtigung webhooks:manage

Pfadparameter

  • webhookIdstringPflicht

Request-Body application/json

  • urlstring (uri)
  • eventsarray of string

    Erlaubte Werte: project.created project.updated project.archived project.deleted task.created task.updated task.completed task.reopened task.assigned task.deleted milestone.created milestone.updated milestone.completed comment.created

  • descriptionstring
  • enabledboolean

Antwort 200

Success.

  • webhookWebhook
    6 Attribute anzeigen
    • idstring
    • urlstring
    • eventsarray of string

      Erlaubte Werte: project.created project.updated project.archived project.deleted task.created task.updated task.completed task.reopened task.assigned task.deleted milestone.created milestone.updated milestone.completed comment.created

    • descriptionstring
    • enabledboolean
    • createdAtstring (date-time)

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/webhooks/WEBHOOK_ID" \
  -H "Authorization: Bearer pfat_YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://app.getprojectflow.com/project/proj_1",
  "description": "Short description",
  "enabled": false
}'
const res = await fetch('https://api.getprojectflow.com/v1/webhooks/WEBHOOK_ID', {
  method: 'PATCH',
  headers: {
    Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    url: 'https://app.getprojectflow.com/project/proj_1',
    description: 'Short description',
    enabled: false
  }),
});
const data = await res.json();
import os
import requests

res = requests.patch(
    "https://api.getprojectflow.com/v1/webhooks/WEBHOOK_ID",
    headers={
        "Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
    },
    json={
        "url": "https://app.getprojectflow.com/project/proj_1",
        "description": "Short description",
        "enabled": False
    },
)
data = res.json()
var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/webhooks/WEBHOOK_ID")!)
request.httpMethod = "PATCH"
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let body: [String: Any] = [
    "url": "https://app.getprojectflow.com/project/proj_1",
    "description": "Short description",
    "enabled": false,
]
request.httpBody = try JSONSerialization.data(withJSONObject: body)

let (data, response) = try await URLSession.shared.data(for: request)
Antwort · 200JSON
{
  "success": true,
  "webhook": {
    "id": "webhook_1",
    "url": "https://app.getprojectflow.com/project/proj_1",
    "events": [
      "project.created"
    ],
    "description": "Short description",
    "enabled": false,
    "createdAt": "2026-11-02T09:00:00.000Z"
  },
  "requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}

Delete a webhook endpoint

DELETE/webhooks/{webhookId}

Scope webhooks:manageBerechtigung webhooks:manage

Deletes the endpoint, its secret and its delivery log.

Pfadparameter

  • webhookIdstringPflicht

Antwort 200

Success.

  • deletedWebhookIdstring

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/webhooks/WEBHOOK_ID" \
  -H "Authorization: Bearer pfat_YOUR_TOKEN"
const res = await fetch('https://api.getprojectflow.com/v1/webhooks/WEBHOOK_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/webhooks/WEBHOOK_ID",
    headers={
        "Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
    },
)
data = res.json()
var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/webhooks/WEBHOOK_ID")!)
request.httpMethod = "DELETE"
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")

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

Rotate the signing secret

POST/webhooks/{webhookId}/rotate-secret

Scope webhooks:manageBerechtigung webhooks:manage

The old secret keeps signing for 24 hours (a second v1= in the signature header).

Pfadparameter

  • webhookIdstringPflicht

Antwort 200

Success.

  • secretstring
  • previousSecretValidUntilstring (date-time) | 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/webhooks/WEBHOOK_ID/rotate-secret" \
  -H "Authorization: Bearer pfat_YOUR_TOKEN"
const res = await fetch('https://api.getprojectflow.com/v1/webhooks/WEBHOOK_ID/rotate-secret', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
  },
});
const data = await res.json();
import os
import requests

res = requests.post(
    "https://api.getprojectflow.com/v1/webhooks/WEBHOOK_ID/rotate-secret",
    headers={
        "Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
    },
)
data = res.json()
var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/webhooks/WEBHOOK_ID/rotate-secret")!)
request.httpMethod = "POST"
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")

let (data, response) = try await URLSession.shared.data(for: request)
Antwort · 200JSON
{
  "success": true,
  "secret": "secret",
  "previousSecretValidUntil": "2026-11-02T09:00:00.000Z",
  "requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}

Send a webhook.test event

POST/webhooks/{webhookId}/test

Scope webhooks:manageBerechtigung webhooks:manage

Pfadparameter

  • webhookIdstringPflicht

Antwort 200

Success.

  • okboolean
  • deliveryWebhookDelivery
    9 Attribute anzeigen
    • idstring
    • eventIdstring
    • eventTypestring
    • statusstring

      Erlaubte Werte: pending succeeded failed

    • responseCodeinteger | null
    • durationMsinteger
    • attemptsinteger
    • errorstring | null
    • createdAtstring (date-time)

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/webhooks/WEBHOOK_ID/test" \
  -H "Authorization: Bearer pfat_YOUR_TOKEN"
const res = await fetch('https://api.getprojectflow.com/v1/webhooks/WEBHOOK_ID/test', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
  },
});
const data = await res.json();
import os
import requests

res = requests.post(
    "https://api.getprojectflow.com/v1/webhooks/WEBHOOK_ID/test",
    headers={
        "Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
    },
)
data = res.json()
var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/webhooks/WEBHOOK_ID/test")!)
request.httpMethod = "POST"
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")

let (data, response) = try await URLSession.shared.data(for: request)
Antwort · 200JSON
{
  "success": true,
  "ok": false,
  "delivery": {
    "id": "webhookdelivery_1",
    "eventId": "event_1",
    "eventType": "eventType",
    "status": "pending",
    "responseCode": 1,
    "durationMs": 1,
    "attempts": 1,
    "error": "error",
    "createdAt": "2026-11-02T09:00:00.000Z"
  },
  "requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}

List recent deliveries

GET/webhooks/{webhookId}/deliveries

Scope webhooks:manageBerechtigung webhooks:manage

Last 50 deliveries, kept 30 days.

Pfadparameter

  • webhookIdstringPflicht

Query-Parameter

  • limitinteger1 to 200 · Standard: 100

    Page size.

  • cursorstring

    Opaque cursor from the previous response's nextCursor.

Antwort 200

Success.

  • deliveriesarray of WebhookDelivery
    9 Attribute anzeigen
    • idstring
    • eventIdstring
    • eventTypestring
    • statusstring

      Erlaubte Werte: pending succeeded failed

    • responseCodeinteger | null
    • durationMsinteger
    • attemptsinteger
    • errorstring | null
    • createdAtstring (date-time)
  • 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.
  • 409conflict, e.g. webhook limit reached.
  • 429rate_limited or daily_write_limit.

Alle Fehlercodes

Anfrage
curl "https://api.getprojectflow.com/v1/webhooks/WEBHOOK_ID/deliveries?limit=50" \
  -H "Authorization: Bearer pfat_YOUR_TOKEN"
const res = await fetch('https://api.getprojectflow.com/v1/webhooks/WEBHOOK_ID/deliveries?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/webhooks/WEBHOOK_ID/deliveries?limit=50",
    headers={
        "Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
    },
)
data = res.json()
var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/webhooks/WEBHOOK_ID/deliveries?limit=50")!)
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")

let (data, response) = try await URLSession.shared.data(for: request)
Antwort · 200JSON
{
  "success": true,
  "deliveries": [
    {
      "id": "webhookdelivery_1",
      "eventId": "event_1",
      "eventType": "eventType",
      "status": "pending",
      "responseCode": 1,
      "durationMs": 1,
      "attempts": 1,
      "error": "error",
      "createdAt": "2026-11-02T09:00:00.000Z"
    }
  ],
  "nextCursor": null,
  "total": 1,
  "requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}

Redeliver an event

POST/webhooks/{webhookId}/deliveries/{deliveryId}/redeliver

Scope webhooks:manageBerechtigung webhooks:manage

Resends the same body with a fresh signature.

Pfadparameter

  • webhookIdstringPflicht
  • deliveryIdstringPflicht

Antwort 200

Success.

  • okboolean
  • deliveryWebhookDelivery
    9 Attribute anzeigen
    • idstring
    • eventIdstring
    • eventTypestring
    • statusstring

      Erlaubte Werte: pending succeeded failed

    • responseCodeinteger | null
    • durationMsinteger
    • attemptsinteger
    • errorstring | null
    • createdAtstring (date-time)

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/webhooks/WEBHOOK_ID/deliveries/DELIVERY_ID/redeliver" \
  -H "Authorization: Bearer pfat_YOUR_TOKEN"
const res = await fetch('https://api.getprojectflow.com/v1/webhooks/WEBHOOK_ID/deliveries/DELIVERY_ID/redeliver', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
  },
});
const data = await res.json();
import os
import requests

res = requests.post(
    "https://api.getprojectflow.com/v1/webhooks/WEBHOOK_ID/deliveries/DELIVERY_ID/redeliver",
    headers={
        "Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
    },
)
data = res.json()
var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/webhooks/WEBHOOK_ID/deliveries/DELIVERY_ID/redeliver")!)
request.httpMethod = "POST"
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")

let (data, response) = try await URLSession.shared.data(for: request)
Antwort · 200JSON
{
  "success": true,
  "ok": false,
  "delivery": {
    "id": "webhookdelivery_1",
    "eventId": "event_1",
    "eventType": "eventType",
    "status": "pending",
    "responseCode": 1,
    "durationMs": 1,
    "attempts": 1,
    "error": "error",
    "createdAt": "2026-11-02T09:00:00.000Z"
  },
  "requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}

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