How to Get a MYOB API Key (AccountRight and MYOB Business)
How MYOB API access works, the difference between the AccountRight and MYOB Business APIs, and what a MYOB integration actually involves.
How MYOB API access works, the difference between the AccountRight and MYOB Business APIs, and what a MYOB integration actually involves.
Who this is for
Business owners and finance managers who need MYOB connected to another system and are trying to work out how MYOB API access works.
Question this answers
How do I get a MYOB API key, and which MYOB API do I actually need?
What you will leave with
This is the step that saves the most wasted effort. MYOB is not one product, and the APIs are not interchangeable.
Before anyone writes code, confirm which of these the business is actually on. Enquiries regularly start with "we need a MYOB integration" and turn out to involve two different MYOB products across two entities.
Confirm the current process with MYOB before planning around it. Developer portal requirements, product naming and plan eligibility all change. Use this as an orientation, not as documentation.
Here is the part that surprises almost everyone integrating AccountRight for the first time. Completing OAuth is not enough on its own. To read or write inside an AccountRight company file, the request also needs the company file credentials, the username and password used to open that file.
Two consequences follow from that, and both matter commercially:
Coverage varies between the AccountRight and MYOB Business APIs, but broadly you can reach:
Do not assume a field exists because the equivalent exists in Xero. The data models differ in ways that matter, particularly around jobs, categories and tax handling. Confirm against the actual API for the product in question before promising a mapping.
Conflict handling when a record changes in both places is where these projects are won or lost.
The extra credential layer and file specific behaviour add real complexity.
Each file behaves as its own dataset, and reporting across them is a separate problem.
Award rates, overtime and allowances have to be right, not approximately right.
That is a data migration project with its own risks. See our MYOB to Xero guidance.
MYOB integrations are usually more involved than the equivalent Xero work, mostly because of the product fragmentation and the company file layer. That is manageable when it is understood at the start, and expensive when it is discovered halfway through. If any of the specialist items above apply, our MYOB integration services start with exactly those questions.
The right MYOB application programming interface (API) depends on which MYOB product the business uses, because the APIs are not interchangeable. MYOB AccountRight has its own API with quirks around company file access, MYOB Business, previously MYOB Essentials, uses a different API, and MYOB Acumatica, formerly MYOB Advanced, has its own integration model. Confirm which product each entity is on before anyone writes code.
Register on the MYOB developer portal with an account the business controls long term, then register an application with a name and a redirect address. MYOB issues an application programming interface (API) key, which acts as the client id, and a secret. Once approved, complete the OAuth 2.0 flow to receive access and refresh tokens, and make the integration renew tokens automatically.
Completing OAuth is not enough on its own for MYOB AccountRight. To read or write inside an AccountRight company file, each request also needs the company file credentials, the username and password used to open that file. Someone has to hand over working credentials before the integration can run, and if they change the integration stops, so it should fail loudly and tell someone.
No, approval to register a MYOB developer app is not always instant, so allow for it in the project timeline rather than discovering it in the week of go-live. Register the app under an account the business controls long term, not a personal one, and decide early who owns the app registration so it does not disappear with a departing staff member.
The MYOB application programming interface (API) can broadly reach sales invoices and quotes, purchases and supplier bills, customer and supplier contacts, items and inventory, accounts, tax codes and jobs, and payroll and timesheets on products that expose them. Coverage varies between AccountRight and MYOB Business. Do not assume a field exists because the equivalent exists in Xero, since the data models differ around jobs, categories and tax.
The same question answered for Xero, including why there is no simple key.
No public API, and how to connect Tradify through its reports and exports instead.
A structured approach from discovery through go-live.
Ask the author
Ask it here and it comes straight to Kasun, who wrote this. No sales call, no obligation, and a real answer even if the answer is that you do not need us.
Kasun Wijayamanna
Founder, replies within one business day
Tell us what you are comparing, replacing, or trying to improve. We will come back with a practical recommendation and realistic scope.
Built here. Your data stays here.
Thanks for reaching out. We will get back to you within one business day.
See what else we do