Overview and authentication
Everything the product does, over HTTP and JSON. The same tasks, evidence, devices and credits.
curl https://api.phronen.ai/api/v1/me \
-H "Authorization: Bearer $PHRONEN_KEY"API keys
Create keys in the product under Settings → Developer, or with the API. A key belongs to your organisation, carries scopes, and is shown once. Keys are stored hashed; revoking one takes effect immediately.
POST https://api.phronen.ai/api/v1/keysjson
{ "name": "ci", "env": "live", "scopes": ["tasks", "evidence"] }| Scope | Allows |
|---|---|
| tasks | create, follow and act on tasks (tasks:read and tasks:write are the halves) |
| evidence | read evidence |
| webhooks | manage webhooks |
| keys | manage keys |
| credits | read the credit ledger |
| * | everything the creating role may do |
Keys are prefixed phr_live_, phr_test_ or phr_ci_. Responses are JSON; lists come back as { "data": [...] }.
Was this page helpful?