API reference
Send events that Throughpoint checks against your tools, manage approval rules, and receive webhooks for cards and writes. Authenticate with an API key from Settings → API: Authorization: Bearer tp_live_….
Authentication
Create a key under Settings → API and send it as a bearer token. Keys start with tp_live_ (or tp_test_ on staging) and carry scopes: events:write, rules:write and webhooks:manage. Each key may make 60 requests a minute. Send an Idempotency-Key header on POSTs to make retries safe; every response carries an X-Request-Id.
-H "Authorization: Bearer $TP_API_KEY"
Send an event
Report a deploy, incident, release or any other event about a ticket. Throughpoint checks it against your tools like any other source; if the ticket is behind, a card asks to move it. Works on every plan. Send an Idempotency-Key header to make retries safe; without one, an identical body is treated as the same event.
curl -X POST https://api.throughpoint.dev/v1/events \
-H "Authorization: Bearer $TP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"source":"deploy","ref":"TP-482","status":"shipped"}'Check an event
What happened to an event you sent: still waiting, a card was raised, or why not.
curl https://api.throughpoint.dev/v1/events/6c1f0e0a-7d1b-4a55-9d3e-2f1a6c4b8e10 \ -H "Authorization: Bearer $TP_API_KEY"
List approval rules
The workspace default policy plus each per-project rule.
curl https://api.throughpoint.dev/v1/rules \ -H "Authorization: Bearer $TP_API_KEY"
Set a project's rule
Decide who can approve cards for one Jira project, Linear team, GitHub repo or ClickUp list. Overrides always win over the workspace default. Team and Enterprise plans.
curl -X PUT https://api.throughpoint.dev/v1/rules/jira%3ATP \
-H "Authorization: Bearer $TP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"project":"jira:TP","policy":"assignee"}'Remove a project's rule
The project goes back to the workspace default.
curl -X DELETE https://api.throughpoint.dev/v1/rules/jira%3ATP \ -H "Authorization: Bearer $TP_API_KEY"
List webhook endpoints
curl https://api.throughpoint.dev/v1/webhooks \ -H "Authorization: Bearer $TP_API_KEY"
Add a webhook endpoint
Throughpoint POSTs each subscribed event to url (https only), signed with the returned secret.
curl -X POST https://api.throughpoint.dev/v1/webhooks \
-H "Authorization: Bearer $TP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://hooks.acme.dev/throughpoint","events":["card.created","action.executed"]}'Delete a webhook endpoint
curl -X DELETE https://api.throughpoint.dev/v1/webhooks/6c1f0e0a-7d1b-4a55-9d3e-2f1a6c4b8e10 \ -H "Authorization: Bearer $TP_API_KEY"
Rotate the signing secret
The old secret stops working immediately; deliveries after this are signed with the new one.
curl -X POST https://api.throughpoint.dev/v1/webhooks/6c1f0e0a-7d1b-4a55-9d3e-2f1a6c4b8e10/rotate-secret \ -H "Authorization: Bearer $TP_API_KEY"
Send a test event
Queues a sample card.created with "test": true to the endpoint.
curl -X POST https://api.throughpoint.dev/v1/webhooks/6c1f0e0a-7d1b-4a55-9d3e-2f1a6c4b8e10/test \ -H "Authorization: Bearer $TP_API_KEY"
Errors
Every error has the same shape. Quote the request_id when you contact us.
{
"error": {
"code": "invalid_request",
"message": "ref: Required",
"request_id": "req_8f3a2c1d9e7b4a60"
}
}Machine-readable: /v1/openapi.json