The Omono API lets your own software and third-party integrations read and write your Omono data. Each integration signs in with an API key that an admin creates in Settings → API. This article covers that page: creating, revoking and rotating keys, changing a key's access, the organisation-wide access switch, the usage chart, the request log and the emails admins receive. The developer documentation for the API itself opens from the API Documentation box on the page.
Only Admin Users see Settings, so only they can open the API page.
The API is in beta
A blue note at the top of the page says The Omono API is in beta. Endpoints, fields and limits can change before the API becomes generally available. Changes made through the API are real and take effect at once. Test a new integration on a sandbox (test) organisation first. Do not make a critical process depend on the API alone yet.
The API page
Once you have at least one key, the page has two tabs: API Keys (with the number of active keys) and Request Log. Refresh, at the right of the tabs, reloads both. The page does not update by itself.
From top to bottom, the API Keys tab has:
The beta note.
The Manage API Access panel, with three boxes. New API Key creates a key. Its badge shows how many active keys you have, for example 3 of 25. API Access shows an On or Off badge and who last changed the switch and when. API Documentation opens the developer documentation.
The API Keys panel, with the keys table. An active key is one that is not revoked and not expired. Only active keys count towards the limit of 25. Tick Show Revoked, at the top right of the page, to add revoked keys to the table.
The Usage (30 Days) chart.
Switched on by request
Omono switches the API on for each organisation, on request. Until then the page shows a yellow note, API access is switched on by request. The Manage API Access panel is hidden and there is no + next to API in the settings menu, so you cannot create a key. To start using the API, contact us through the chat.
If Omono switches access off again, the same note returns and every request gets HTTP 403 with the reason api-access-disabled. Your keys are not revoked: they stay in the table, you can still revoke them, and they work again once access is switched back on. This is separate from your own API Access switch, described below.
Creating an API key
Click the New API Key box, or the + next to API in the settings menu. The Create API Key window opens.
Fill in the form (see the table below).
Click the tick at the top of the window. If a field has a value the form cannot accept, the form marks that field and sends nothing.
Field | Notes |
|---|---|
Name | Required. Use the name of the integration that uses the key. It must differ from the names of your other active keys. A difference only in capitals does not count. A revoked key's name can be used again, so a replacement key can take the name of the key it replaces. |
Access | One row for each area. Each row shows a short name, with a grey line under it that says what the area gives a key. These rows have a Read and a Write tick box: Companies & contacts, Sales, Purchasing, Stock, Tasks and Documents. Reference data has a Read box only, and it is ticked by default. It gives a key the names and email addresses of your users. Customer prices has a Read box only, and it is not ticked by default. It gives a key your customers' price lists, and no other box gives a key your customers' prices. Stock Read also gives a key the cost and margin of quote and sales order lines, and the cost and profit of invoices: without it, a key does not see them. Purchasing together with Stock also gives a key the suppliers of your stock items: each supplier's part number, lead time and price. Read on both lets a key read them, and Write on both lets a key change them. Tick only what the integration needs. Ticking Write also ticks and locks Read for the same area. At least one box must be ticked. |
Expires on (optional, 00:00 UTC) | The key stops working at 00:00 UTC on that day: 01:00 on that day in UK summer time, and the evening before in time zones west of UTC. The earliest date the form accepts is tomorrow (in UTC); an earlier date is marked and nothing is sent. Leave it blank for a key that does not expire. |
The key is shown once
After you save, the API Key Created window shows the full key in the Your API key field, with a copy button. Copy it and store it somewhere safe. Omono never shows it again. The keys table only ever shows the start and the last four characters. Close the window with the tick (or the cross).
Send the key only in the Authorization header of each request (Authorization: Bearer <key>), never in a URL. A key sent in a URL is revoked automatically (see below).
When you have 25 active keys, the New API Key box is greyed out and the menu + is disabled. Revoke a key to make room.
The API Keys table
Column | Meaning |
|---|---|
Name | The name you gave the key. |
Key | The start and the last four characters, for example omk_live_…Ab12. |
Access | A tag per area, for example Sales: read, write or Customer prices: read, or Everything when the key has every box ticked. A key made before Customer prices was added does not have it, so a key that showed Everything now shows its areas. Its access has not changed. If an admin has changed the key's access, Access changed <date> by <name> shows underneath. |
Created | The date, with by <name> underneath. A person who has since been archived shows with (archived). |
Last Used | When the key last made a request, or Never. |
Requests (7 Days) | Requests in the last 7 days (UTC), refused requests included. |
Expires | The day the key stops working, shown in your own time zone (west of UTC, that is the day before the date you chose), or Never. |
Status | Active, Revoked <date> or Expired <date>. An active key has two icons next to Active: a pencil to edit its access, and a bin to revoke it. A key that Omono revoked itself shows Revoked automatically — sent in a URL in red. |
Revoking a key
In the Status column, click the bin icon next to Active, then click Yes in the Revoke <name>? window. It takes effect at once: the next request with that key is refused (HTTP 401). Revoking cannot be undone, so create a new key if the integration still needs access.
Automatic revoke
If a key is ever sent in the query string of a URL (the part after ?), Omono revokes it automatically. It does this because proxies and logs can record URLs. The key's status shows Revoked automatically — sent in a URL. Every admin receives an email with the source IP address. Create a replacement key and make sure the integration sends it only in the Authorization header.
Changing a key's access, and rotating keys
You can change the access of an active key. The key keeps its secret, so the integration does not need a new key.
In the Status column, click the pencil icon next to Active. The Edit API Key Access window opens.
Tick or untick the boxes. They work as on the create form: ticking Write also ticks and locks Read. At least one box must be ticked.
Check the lines under the boxes. Adds lists the new access. Removes lists the access the key loses.
Click the save tick. It shows only when you have changed a box.
The change takes effect at once. The integration can use new access on its next request. A request that needs removed access is refused (HTTP 403, insufficient-scope). Every admin receives an email about the change. The key's row then shows Access changed <date>.
You cannot change the name, the expiry date or the secret of a key. You cannot edit a revoked or expired key. If another admin changed or revoked the key after your page loaded, your save is refused. The window then shows the key's access as it is now: check the boxes and save again. If the key was revoked or has expired, the window closes.
To replace a key's secret, for example when someone who knew the key leaves your organisation:
Create a new key with the access you need.
Move your integration to the new key.
Revoke the old key.
Archiving a user does not revoke the keys they created. The keys keep working, and they keep the person's name under Created.
The API access switch
The API Access box in the Manage API Access panel controls the API for the whole organisation. Click it, tick or untick Allow API access for this organisation, and save with the tick. The badge on the box then shows On or Off.
When the switch is off, every key of your organisation is blocked. Requests get HTTP 403 with the reason api-access-disabled. Use the switch to pause all integrations at once without revoking any key, for example while you investigate a problem. Switching it back on lets every active key work again. A change takes up to 30 seconds to reach every API server. If you need one key stopped now, revoke it instead.
Your integrations may get 403 api-access-disabled while the badge shows On. If so, click Refresh: the page does not update by itself, and someone may have switched access off since you opened it. If the badge still shows On, contact us through the chat.
Usage and the request log
The usage chart, below the keys table, and the Request Log tab show what your integrations do with the API.
Usage (30 Days)
A bar chart of the requests for each day of the last 30 days. Days are counted in UTC. So in your own time zone, a day's bar can include requests from late on the day before or early on the day after. Each bar is split by result: Successful, Refused (4xx), Rate limited (429) and Server error (5xx). Choose one key in the Key list to see only its requests. The total for the period is next to the list. Point at a day to see its figures. Click Bandwidth next to Show to see instead the bytes Omono received and sent each day. A compressed response counts at its compressed size. Click Requests to go back.
Request Log
The Request Log tab lists the individual requests of the last 7 days, newest first, 50 to a page. Older, Newer and « below the table move between pages. You can filter the list by:
Key.
Result: successful, redirect, refused, rate limited or server error.
Method.
Time: the last hour, the last 24 hours (the default) or the last 7 days.
Or type in Search and press Enter. You can search for:
a Request ID;
part of a path, for example sales-orders;
the start of an error code, for example validation;
the request ID your integration sent.
Clear filters resets everything except Time. Excel and CSV download every request that matches the filters, up to 10,000. Times in the file are in UTC.
Column | Meaning |
|---|---|
Time | When Omono finished the request, in your own time. |
Key | The name of the key that made the request. |
Method and Path | What the integration asked for, for example GET /api/v1/sales-orders. The part after ? is shown only in the detail of a refused or failed request. |
Status | The HTTP status Omono returned: green for success, orange for refused, purple for rate limited, red for a server error and grey for 499. If the integration stopped waiting before Omono answered, the row carries a Client disconnected tag and the status is the work's own: Omono finished the work, but the integration did not receive the answer. If that status is 2xx, the write was saved, and a retry with the same Idempotency-Key gets the same answer without doing the work again. If the integration stopped waiting before Omono started the work, the status is 499 with a Closed by client tag, and nothing was done. |
Duration | How long Omono took to answer, in milliseconds. |
Size | The bytes received with the request and sent in the response. |
Error Code | On a refused or failed request, the reason, for example not-found or insufficient-scope. The developer documentation explains every code. |
Request ID | The unique ID of the request, also returned to your integration in the response. Give it to Omono when you report a problem. |
The detail of a refused or failed request
A refused or failed request has a View link at the end of its row. Click it to see what your integration sent and what Omono answered. A summary, with the full address, is at the top. Below it, the request is on the left. It shows the headers that help with a problem, such as Content-Type and Idempotency-Key, and the body. The response is on the right. It shows the body, with the error code and reason. JSON is shown indented. Use the copy buttons to copy the Request ID or a body. For example, you can send it to the developer of the integration.
To keep your data safe, Omono never stores the Authorization header. An API key in a body or address is masked to its last four characters. A long body is cut, and the window says so. For a file upload, only a note is stored, not the file.
Successful requests have no detail to view, and some refused or failed requests have none either. When a key sends the same failing request many times in one minute, Omono stores the detail for the first 10 only. When your organisation has a very large number of failed requests in one day, Omono stops storing detail until midnight UTC. The request is still listed, and View tells you why there is nothing to show.
To save storage, Omono can list only a sample of the successful requests. The panel then shows a blue note, Successful requests are sampled. It says what share is listed. Refused and failed requests are still listed, with one exception. The exception is the requests that Omono refuses before it runs them:
a revoked or expired key;
a key without the needed access;
API access switched off, by Omono or by your own switch (api-access-disabled);
an unknown path;
a rate limit;
a request refused because Omono is busy.
Of these, Omono lists only the first 10 a minute that have the same key, status, error code and route. Some requests cannot be linked to your organisation, so they are not listed:
requests with no key;
requests with an unknown or malformed key;
a request that sent a key in the URL (Omono revokes the key, as described above);
requests from a key that Omono pauses for up to a minute after too many refused or rate-limited requests in one minute.
The usage chart counts every request that Omono links to your organisation, including the ones the log leaves out.
Security emails
Every admin of the organisation (not the Omono Support account) receives an Omono Security Notification email when:
a key is created, with its name, access, expiry and who created it;
a key's access is changed, with the access added and removed, the access it has now, and who changed it;
a key is revoked, and by whom;
a key is revoked automatically, with the source IP address;
API access is switched on or off, and by whom.
Saving the switch without changing it sends no email. If you receive an email about a change you did not expect, check the keys table and the switch. Revoke any key you do not recognise and tell your other admins.
How API work appears in Omono
The API works as a hidden service user named API. It is not listed on Settings → Team and is not a billable user (see Team, users and roles). Notes and history entries written through the API show the author as API · <key name>. Documents uploaded through the API show the uploader API. See Notes, documents and links.
The developer documentation
The API Documentation box opens the developer documentation in a new tab. It is also at api.omono.co/docs. The documentation is public, so you can send the link to whoever builds your integration. If your organisation is on a private Omono platform, use the box: your documentation has a different address.
The documentation has:
guides with recipes for common jobs, such as sending web shop orders to Omono;
the API reference, with every request, field and response;
a page for each error code.
Developers who use an AI assistant can copy any page for it with Copy for LLM at the top of the page. The Build with AI assistants guide explains the other ways to give an assistant the documentation.
Limits and test environments
API requests are rate limited. Contact us through the chat for everything to do with the API: higher limits, a sandbox organisation to develop against, and problem reports.







