How to Create OAuth Credentials for FreshBooks
This guide will help you set up your FreshBooks OAuth app to connect with Apideck and start using the Accounting API.
Prerequisites
Before you begin, make sure you have:
- A FreshBooks account - Sign up at FreshBooks
- Access to the FreshBooks Developer Hub
- An Apideck account
1. Enable the FreshBooks connector in Apideck
- Navigate to the Apideck Dashboard
- Go to Configuration > Accounting > FreshBooks
- The connector will be available for configuration
2. Create OAuth App in FreshBooks Developer Portal
Access Developer Portal
- Log in to your FreshBooks account
- Navigate to the FreshBooks Developer Hub

- Click Create an App or Get Started to begin creating your OAuth application
Configure Basic Information
Fill out the basic information about your OAuth app in the following order:
-
Application Name: Enter a descriptive name for your app (e.g., "Apideck Integration")
-
App Type: Select the type of app you want to create:
- Test App: For testing and development purposes
- Private App: For internal use within your organization
- Public App: For distribution to other FreshBooks users (requires FreshBooks review)
-
Website URL: Enter your application's website URL (optional but recommended)
-
Application Settings URL: Enter the URL where users can manage your app's settings, for example: https://vault.apideck.com (optional)

-
Scopes: Select the OAuth scopes that match the resources you need to access through the FreshBooks API. Common scopes include:
user:profile:read- View personal and business details (required by default)user:clients:read/user:clients:write- Access client informationuser:invoices:read/user:invoices:write- Access invoice datauser:payments:read/user:payments:write- Access payment informationuser:expenses:read/user:expenses:write- Access expense datauser:account:read/user:account:write- Access chart of accounts- And other scopes as needed for your integration
-
Redirect URI: Enter exactly
https://unify.apideck.com/vault/callback

Get Your Credentials
After creating your app, FreshBooks will generate your OAuth credentials:
- Client ID - This is your application's public identifier
- Client Secret - This is your application's secret key

3. Configure the FreshBooks connector in Apideck
- Navigate to the FreshBooks connector configuration in the Apideck Dashboard
- Select the Use your client credentials option
- Enter your OAuth credentials:
- Client ID - Paste the Client ID from your FreshBooks Developer Portal app
- Client Secret - Paste the Client Secret from your FreshBooks Developer Portal app
- Review that the scopes granted in FreshBooks match with the scopes you are requesting in Apideck
- Click Save settings to save your credentials

4. Test Your Connection
You can test your FreshBooks connector by clicking Test Vault in the Apideck dashboard.
- Click Authorize to start the OAuth flow

- You'll be redirected to FreshBooks to grant permissions
- Select the business/account you want to connect from the dropdown list (you must have owner or admin role)
- After successful authorization, the connection will show as Connected

5. Do your first API call to the Accounting API
- Connect through Vault
- Test with this call:
Now your app and FreshBooks integration are configured! 🎉