Reference
API keys & permissions
Create an org-scoped API key with only the scopes your pipeline needs, then rotate it before it expires.
API keys are how automation signs in: CI pipelines, scripts, and integrations. Manage them under API Keys in the app.
How keys work
Section titled “How keys work”- Org-scoped. A key belongs to one organization. It only reaches that organization’s webhooks, flows, and collections.
- Scoped permissions. Each key carries an explicit list of scopes. Requests outside those scopes are rejected.
- Shown once. The app displays the secret a single time. You cannot retrieve it later.
- Expiration. Keys support an expiration date, so short-lived credentials are the default.
- Rotation. You create and rotate keys from the same screen.
Send the key as headers on API requests:
curl https://api.echopoint.dev/flows \ -H "X-Api-Key: $ECHOPOINT_API_KEY" \ -H "X-Organization-Id: $ECHOPOINT_ORGANIZATION_ID"The CLI reads the same pair from ECHOPOINT_API_KEY and
ECHOPOINT_ORGANIZATION_ID. The GitHub Action takes them as the
api-key and organization-id inputs.
Pick the scopes
Section titled “Pick the scopes”Scopes follow a resource:action shape. Start from your use case:
| Use case | Scopes |
|---|---|
| CI runs by flow ID | flows:execute |
CI runs by tag (--tag or tags:) | flows:execute + flows:read |
| Read-only flow inventory (dashboards, scripts) | flows:read |
| Reading captured webhook requests | webhooks:read |
Grant the minimum. A key that only launches pinned flow IDs does not need flows:read.
A reporting script needs no execute scope at all.
The ci preset
Section titled “The ci preset”The app offers a ci preset. Review the scopes it selects and keep the minimum your
pipeline needs. Current CLI ephemeral runs need flows:execute, plus flows:read for tag
selection. They report results with a per-job token.
Scope examples
Section titled “Scope examples”| Scope | Grants |
|---|---|
flows:read | List and read flows (needed to resolve tag selections) |
flows:execute | Launch flow executions |
webhooks:read | Read webhook endpoints and captured requests |
runner:complete | Runner protocol permission. Not needed on current CLI ephemeral-run keys. |
The API serves the full catalog at GET /permissions. See the
API reference.
Rotate a key
Section titled “Rotate a key”-
Create a replacement key with the minimum scopes and an expiration date.
-
Update the secret everywhere it is used: CI secret stores,
ECHOPOINT_API_KEYenvironment variables, and the GitHubsecrets.ECHOPOINT_API_KEYvalue. -
Confirm a run succeeds with the new key. Then delete the old one.
Set an expiration on every key. A forgotten credential then ages out instead of living forever.
Next: CLI · GitHub Action · API reference · Getting started