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.

Best for: Business owners, finance managers, operations managers Practical guide for business decision-makers

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

  • Which MYOB product you are on, and why it changes everything
  • How to register a developer app and get your key
  • Why an OAuth token alone will not open your company file
  • What the MYOB API exposes
  • When a MYOB integration is a development project

First, work out which MYOB you have

This is the step that saves the most wasted effort. MYOB is not one product, and the APIs are not interchangeable.

  • MYOB AccountRight, the long standing product, which can run on a local file or in the cloud. It has its own API and its own quirks, particularly around company file access.
  • MYOB Business, previously MYOB Essentials, the cloud first product. It uses a different API surface.
  • MYOB Acumatica, the enterprise product formerly known as MYOB Advanced. Different platform again, with its own integration model.

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.

Getting an API key, step by step

  1. Register on the MYOB developer portal using an account you control long term, not a personal one belonging to whoever set it up.
  2. Register an application. You provide a name and a redirect URI, and you receive an API key, which acts as the client id, and a secret.
  3. Wait for approval. App registration is not always instant. Allow for this in the project timeline rather than discovering it the week of go-live.
  4. Complete the OAuth 2.0 flow to authorise access to the business's MYOB data and receive an access token and refresh token.
  5. Refresh tokens automatically. Access tokens are short lived, so the integration has to renew them without anyone logging in.

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.

The company file login that catches people out

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:

  • Somebody has to hand over working company file credentials before the integration can function, which is a conversation worth having early rather than mid build.
  • If those credentials change, the integration stops. It needs to fail loudly and tell someone, not quietly stall.

What the MYOB API lets you do

Coverage varies between the AccountRight and MYOB Business APIs, but broadly you can reach:

  • Sales invoices and quotes, create and update from a job or order system
  • Purchases and supplier bills, including job costing where the product supports it
  • Contacts, customers and suppliers, kept in step with a CRM
  • Items and inventory, depending on product and plan
  • Accounts, tax codes and jobs, so transactions land in the right place
  • Payroll and timesheets, on the products that expose it, with tighter permissions

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.

When to bring in a developer

MYOB tasks your own team can handle

  • Connecting MYOB to a mainstream product with an official MYOB connector
  • Pulling MYOB data into a spreadsheet or dashboard, read only
  • Running a one-off export for reporting or an audit
  • Testing whether the API exposes a field you need

When MYOB work needs a specialist

  • Building two-way sync between MYOB and a CRM or job management system

    Conflict handling when a record changes in both places is where these projects are won or lost.

  • Working with AccountRight company files

    The extra credential layer and file specific behaviour add real complexity.

  • Handling multiple entities or company files

    Each file behaves as its own dataset, and reporting across them is a separate problem.

  • Pushing timesheets into MYOB payroll

    Award rates, overtime and allowances have to be right, not approximately right.

  • Migrating from MYOB to another platform

    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.

Key takeaways

  • MYOB has more than one API, and the right one depends on whether you are on AccountRight or MYOB Business
  • You register an app in the MYOB developer portal to get a key and secret, then use OAuth 2.0
  • AccountRight company files often need their own credentials on top of the OAuth token
  • Approval to register an app is not instant, so allow time before a go-live date
  • Two-way sync with a CRM or job system is a build, not a configuration task
MYOBAPI IntegrationIntegrationsAccounting

MYOB API access: common questions

Which MYOB API do I need, AccountRight or MYOB Business?

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.

How do I get a MYOB API key?

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.

Why does a MYOB AccountRight integration need the company file password?

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.

Is MYOB developer app approval instant?

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.

What data can the MYOB API reach?

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.

Ask the author

Question about the MYOB API?

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 Kasun Wijayamanna
Founder, replies within one business day

Get Started

Want help choosing the right next step?

Tell us what you are comparing, replacing, or trying to improve. We will come back with a practical recommendation and realistic scope.

Australian owned and operated

Built here. Your data stays here.

  • No offshore development. Everything is written by our own team in Australia. Nothing is subcontracted overseas.
  • Your data stays onshore. Hosted in Australia, on infrastructure you own, under Australian law.
  • Every state, not just ours. Perth, Melbourne, Sydney, Brisbane, Adelaide and everywhere between.