Getting Started
So you want to integrate with the MYOB Business API - fantastic. Lets walk through what you need to do to get up and developing against our API.
1. Get API Access
The first thing you'll need to do is sign up for API access. Do that by clicking the button below
2. Get your API Keys
Once you have access, you'll need to register your 'app' and receive an API Key and API Secret. You do this via the my.MYOB portal.
3. Start Coding
Now you have access & keys, check out our documentation and SDK to get you up and running fast.
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 API depends on the file location:
http://localhost:8080/accountright/
http://[IP ADDRESS OF COMPUTER TO ACCESS]:8080/accountright/
https://api.myob.com/accountrightStep two: A read-only property UIAccessFlags could return one of these values depending on the product type:
- 0: Local AccountRight
- 2: Essentials
- 3: AccountRight & AccountRight Browser
Connecting to the API Online
Before you can start working on a new app, or make your existing app work with the Online API, you first need to register your app and receive an API key, and an API secret. These are used when authenticating your application and are set in the headers for all calls to the API.
Follow these steps to get started with the AccountRight Online API:
Applying for your key:
- Enter your details to register for API Access
- We'll create a MYOB login, which will give you access to my.MYOB (If you own any MYOB Product you will already have an my.MYOB login, please let us know this in your registration)
- We will invite you to a sandbox company file, you’ll need your my.MYOB password to accept the invitation
- Click on the Developer tab, then click the Register App button
- Enter your app's details, including the app's name and redirect URL, then click Register App
- The API key and secret for your app are generated and displayed on the page, along with information about app usage, quotas and limits
Accessing the Online API
Now that you have your Access Keys you need to access the Online API. Just like the desktop above it's pretty straight forward.
https://api.myob.com/accountright/Before anything happens you'll need to authenticate, which allows the user of your app to assign access permissions to your application. This is done using OAuth Authentication and the steps are spelled out on our authentication page.
Once you have your access token, simply set the headers on every call, and pass these as you make the calls to the URLs you are requesting.
If you want to connect to the desktop API, check out our Knowledgebase article here - Connecting to the Desktop API.