Appearance
Getting Started
This page takes you from no key to your first successful request in about five minutes.
1. Create an API Client
An API client is the identity your integration uses. It belongs to your organisation, not to a person, so it keeps working when people change role or leave. Only owners and admins can create API clients.
In the portal, open Configure → Integrations.
Under API access, select Create API client.
Give it a name that says what it's for, such as "Power BI – plant dashboard".
Choose its permissions. Pick only what the integration needs:
Permission Portal label Grants hierarchy:readRead factories, lines and machines /factories,/lines,/machineschecks:readRead check instances /check-instances,/check-instances/summaryactions:readRead actions /actions,/actions/summaryChoose its scope: all factories, or only the factories you pick. The client can't see anything outside its scope.
Select Create client and key. The key is shown once. Copy it into your tool's secret store or a password manager, tick I've copied and securely stored this key, then close the dialog.
If you can't see API access, API access isn't enabled for your organisation yet. Contact Continual.
The key is shown only once
Continual stores only a hash of the key, so nobody, including Continual, can show it to you again. If you lose it, issue a new key for the same client and revoke the old one. See Security.
2. Make Your First Request
Send the key in the Authorization header as a bearer token. GET /public/v1/me needs no permission, so it is the quickest way to check a key works:
sh
export CONTINUAL_API_KEY='cntl_live_…'
curl https://api.continualapp.com/public/v1/me \
-H "Authorization: Bearer $CONTINUAL_API_KEY"json
{
"id": "7c72e35c-5de5-4882-ac90-2b0f11d5fe65",
"name": "Power BI – plant dashboard",
"permissions": ["actions:read", "checks:read", "hierarchy:read"],
"scope": { "tenant_wide": true, "factory_ids": [] },
"environment": "live"
}The response shows which client the key belongs to, what it may read and which factories it can see. tenant_wide: true means all factories. Otherwise factory_ids lists the factories it can read.
A 401 means the key is wrong, expired or revoked, or API access is switched off. The response doesn't say which, on purpose. Check that you copied the whole key and that you're calling the environment that issued it.
3. List Your Factories
sh
curl https://api.continualapp.com/public/v1/factories \
-H "Authorization: Bearer $CONTINUAL_API_KEY"json
{
"data": [
{
"id": "2a25f348-e929-4c6f-a6f3-05d80a6e0ae7",
"status": "active",
"created_at": "2025-12-26T00:03:50.466745Z",
"updated_at": "2026-07-12T07:33:38.217278Z",
"name": "Main Facility",
"timezone": "Australia/Melbourne"
}
],
"next_cursor": null
}Records carry IDs, not names, so keep this list (and /lines and /machines) to label your charts.
4. Count What Is Due Now
sh
curl --get https://api.continualapp.com/public/v1/check-instances/summary \
-H "Authorization: Bearer $CONTINUAL_API_KEY" \
--data-urlencode 'status=due' \
--data-urlencode 'group_by=line_id'json
{
"groups": [
{ "line_id": "08284ba4-d647-4739-9086-d7093410b518", "count": 8, "completion_rate": null },
{ "line_id": "77aa5ca4-32dc-44b1-9f09-156f2006c99e", "count": 11, "completion_rate": null }
]
}This is the first of the Recipes. The recipes give the exact queries for the most common dashboard tiles, and what each one counts.
Test and Live Keys
| Live keys | Test keys | |
|---|---|---|
| Prefix | cntl_live_ | cntl_test_ |
| Issued by | Production (app.continualapp.com) | Staging and development environments |
| Calls | https://api.continualapp.com/public/v1 | https://staging.api.continualapp.com/public/v1 |
| Data | Your real data | Test data in that environment |
A key works only in the environment that issued it. A test key sent to production, or a live key sent to staging, gets 401. The environment field on /me tells you which kind a key is.
If Continual has given you access to staging, build and check your integration there with a test key first, then create a separate client in production. Production and staging clients are independent: revoking one doesn't affect the other.