Skip to content

MYOB Business API

Version 2 endpoint index for the MYOB Business API, including how AccountRight and MYOB Business connect to the same API surface.

Updated

AccountRight or MYOB Business

MYOB Business is cloud accounting in the browser—ideal when your integration only needs to read and write day-to-day ledger data for customers on the online product. AccountRight Live adds the heavier workflows—inventory, jobs, time billing—and the familiar desktop app, with a long-standing AccountRight Live API and .NET SDK for partners who automate company files. The right choice for your app is whichever product—and API—your users already subscribe to; the developer work is OAuth, scopes, and mapping your domain to the right endpoints, not guessing product fit from feature lists alone.

Step one: Access the MYOB Business API depends on the file location:

text
http://localhost:8080/accountright/
http://[IP ADDRESS OF COMPUTER TO ACCESS]:8080/accountright/
https://api.myob.com/accountright

Step two: A read-only property UIAccessFlags could return one of these values depending on the product type:

  • 0: Local AccountRight
  • 2: Essentials (New)
  • 3: AccountRight & AccountRight Browser

x-myobapi-version

The MYOB Business API expects a custom header which is used for version management. You simply pass x-myobapi-version: in your header to tell us which version you wish to use. More information on headers can be found here.

Here's an example of a header that calls the version 2 api - note the x-myobapi-version: is set to v2.

text
Authorization: Bearer [ACCESS_CODE_HERE]
x-myobapi-cftoken: ABCta353c5R6YXRvcjo=
x-myobapi-key: [API_KEY_HERE]
x-myobapi-version: v2