This guide describes how to make your first API call with QuickBooks Online app. If you want to integrate with QuickBooks Desktop, click here.
Create an Intuit Developer account
Sign up for a new Intuit Developer account or sign in with any current Intuit product account such as QuickBooks,TurboTax, Mint, or ProConnect.
Note: When you create an Intuit Developer account, we create a QuickBooks test company called a sandbox company. View your sandbox company here.
You can start exploring QuickBooks Online APIs right away through the API Explorer
Create an app
Creating an app generates your development keys. Use the app for yourself, your clients, or make it available to all QuickBooks users by listing it on the QuickBooks app store. Select My apps and then Create an app. Select the Keys tab to locate your Client ID and Client Secret.
You need your Client ID and Client Secret in the next step to generate an OAuth 2.0 access token.
Get an OAuth 2.0 access token
Your app needs an OAuth 2.0 Access Token to access QuickBooks Online data. The OAuth 2.0 playground is the easiest way to get your access token.
If you’d like to learn about OAuth 2.0 in detail, see Authentication.
Make the first API call
By now, you have your Client ID, Client Secret, and OAuth access token. Next, you can try making an API call. In the snippet below:
YOUR_ACCESS_TOKENwith the OAuth access token generated in the previous step.
YOUR_SANDBOX_COMPANY_IDwith your sandbox-company Company ID