Partner
Partner API
White-label calls for an accepted partner.
Base URL: https://api.klockwork.org/api/public/partner
A partner key calls only these routes. Anything else under this prefix that is not implemented returns the normal route 404. Paths that fall outside /api/partner after rewrite are blocked.
| Method | Path | Scope |
|---|---|---|
GET | /api/public/partner/me | status:read |
GET | /api/public/partner/customers | customers:read |
POST | /api/public/partner/customers | customers:write |
POST | /api/public/partner/customers/{id}/end | customers:write |
The partnership must be active before the key resolves. POST /customers checks that status again and returns 403 with { "error": "Partner is not active" } when it is not.
Send Content-Type: application/json on POST requests. OPTIONS is allowed for browser preflight.
