Authentication
Every request carries the credential in the header:
Authorization: Bearer <credential>There are two kinds of credential, and they open exactly the same things.
API keys
They’re for programs: your PMS, a script, a reporting tool.
Creating a key (you need to be Owner or Admin of the property and sign in to the back office):
- Go to Settings → Integrations → Keys.
- Under What it’s for, type the name of the program that will use it: “PMS”, “Power BI”.
- Under What it can do, tick Read, Write or both.
- Tap Create key and copy it. It’s shown only once: save it before closing.
The key has this form: ord_<property-id>_<secret>.
- It’s recorded under the name of whoever created it. If that person is removed, the key stops being valid.
- In the list you see when it was last used. Revoke cancels it immediately.
- It doesn’t expire: revoke it when you no longer use it.
OAuth tokens
They’re for assistants that connect through MCP, such as Claude or ChatGPT. There’s nothing to copy: the assistant sends you to an Ordenly screen, you sign in with your account and grant permission. It’s explained in MCP, and the protocol details in OAuth.
- The access token (
ordat_…) lasts an hour; the assistant renews it on its own. - What it does is recorded under the name of whoever authorized it.
- Connected assistants are listed, and can be disconnected, at Settings → Integrations → Connected assistants.
Scopes
| Scope | What it allows |
|---|---|
read |
Querying work orders, comments, categories, locations and properties |
write |
Creating work orders and comments |
With the missing scope, the response is 403 with details.reason = "scope_required".
Limits
- 120 requests per minute per credential. Beyond that,
429 RATE_LIMITEDwithdetails.retry_after_seconds. - On the MCP server, additionally, 300 messages per minute.
Authentication errors
| Code | What happens |
|---|---|
401 |
There’s no credential, it doesn’t exist, it’s revoked, it expired or it belongs to someone who was removed. All respond the same, on purpose |
402 PLAN_REQUIRED |
The property no longer has the Pro plan |
402 READ_ONLY |
The property is read-only and the request writes |
403 |
The credential doesn’t have the scope the route requires |
429 RATE_LIMITED |
Too many requests in a minute |
All error responses have the same shape. You’ll find it in The API.