How to connect to the FreeAgent API
Apideck enables you to build a native integration with FreeAgent. This explains guide explains how to configure the FreeAgent connnector.
Before you start, you’ll need:
To create your FreeAgent Developer account, follow the steps below.
- Navigate to dev.freeagent.com
- On the menu bar click Sign up, which will open the Create your account form.
- Fill out the form and click Create Account, which redirects you to developer homepage.
- To create a new app, navigate to Navigate to My Apps and click on Create New app.
- Add the Apideck Redirect URI
https://unify.apideck.com/vault/callback
. - Copy the Client ID and Secret shown after creation.
- Go back to Apideck to configure the FreeAgent connector with your Client ID and Secret.
Do your first API call to the FreeAgent API
-
Connect your FreeAgent account through Vault with a test session.
-
To test the access token, make a query to get your
Invoices
endpoint using the Accouting API.
curl --location --request GET 'https://unify.apideck.com/accounting/invoices' \ --header 'x-apideck-consumer-id: test-consumer' \ --header 'x-apideck-app-id: {APIDECK_APP_ID}' \ --header 'x-apideck-service-id: freeagent' \ --header 'Authorization: Bearer {APIDECK_API_KEY}' --header 'Content-Type: application/json' \
Start building with the FreeAgent API
Learn what else you can build with the FreeAgent API.
Interested in a personalized demo? Let us know.