Skip to main content

FreeAgent

With FreeAgent modules in Make, you can manage the contacts, tasks, invoices, and monitor users in your FreeAgent account.

To use the FreeAgent modules, you must have a FreeAgent account. You can create an account at freeagent.com.

Refer to the FreeAgent API documentation for a list of available endpoints.

Connect FreeAgent to Make

To establish the connection, you must:

  1. Log in to your Make account, add a FreeAgent module to your scenario, and click Create a connection.

  2. Optional: In the Connection name field, enter a name for the connection.

  3. Optional: Click Show advanced settings and enter your custom app client credentials. For more information, refer to FreeAgent OAuth 2.0 Guide.

    If requested, use the following Redirect URI when creating your custom app: https://www.integromat.com/oauth/cb/freeagent.

  4. Click Save.

  5. If prompted, authenticate your account and confirm access.

You have successfully established the connection. You can now edit your scenario and add more FreeAgent modules. If your connection requires reauthorization at any point, follow the connection renewal steps here.

Create a custom application in FreeAgent

To create an FreeAgent custom application and retrieve your client credentials:

  1. Log in to your FreeAgent Developer account.

  2. Click Create New App.

  3. Enter the details provided as a reference in the below table.

    freeagent-9.png

    Name

    App's name

    Description

    Details of the app.

    App Homepage URL

    App's website URL address.

    OAuth Redirect URI

    Enter the following redirect URIs:

    https://www.integromat.com/oauth/cb/freeagent

    https://www.make.com/oauth/cb/freeagent

    Icon

    App's profile image.

    Enable Accountancy Practice API

    Optional: Select the checkbox to enable the Accountancy practice API for the app.

  4. Click Create App.

  5. Copy the OAuth identifier and OAuth secret to a safe place.

You will use these values in the Client ID and Client Secret fields in Make.

Contacts

You can watch, list, retrieve, create, update, and delete contacts using the following modules.

Watches for newly created contacts.

Connection

Establish a connection to your FreeAgent account.Connect FreeAgent to Make

Limit

Set the maximum number of contacts Make will return during one execution cycle. The default value is 2.

Returns a list of contacts.

Connection

Establish a connection to your FreeAgent account.Connect FreeAgent to Make

Limit

Set the maximum number of contacts Make will return during one execution cycle. The default value is 10.

For field descriptions, see the FreeAgent API reference.

Returns a specified contact.

Connection

Establish a connection to your FreeAgent account.Connect FreeAgent to Make

Contact ID

Select or map the Contact ID whose details you want to retrieve.

Creates a new contact.

Connection

Establish a connection to your FreeAgent account.Connect FreeAgent to Make

For field descriptions, see the FreeAgent API reference.

Updates a specified contact.

Connection

Establish a connection to your FreeAgent account.Connect FreeAgent to Make

Contact ID

Select or map the Contact ID whose details you want to update.

For field descriptions, see the FreeAgent API reference.

Deletes a specified contact.

Connection

Establish a connection to your FreeAgent account.Connect FreeAgent to Make

Contact ID

Select or map the Contact ID you want to delete.

Tasks

You can watch, list, retrieve, create, update, and delete tasks using the following modules.

Watches for newly created tasks.

Connection

Establish a connection to your FreeAgent account.Connect FreeAgent to Make

Limit

Set the maximum number of tasks Make will return during one execution cycle. The default value is 2.

Returns a list of tasks.

Connection

Establish a connection to your FreeAgent account.Connect FreeAgent to Make

Limit

Set the maximum number of tasks Make will return during one execution cycle. The default value is 10.

For field descriptions, see the FreeAgent API reference.

Returns a specified task.

Connection

Establish a connection to your FreeAgent account.Connect FreeAgent to Make

Task ID

Select or map the Task ID whose details you want to retrieve.

Creates a new task.

Connection

Establish a connection to your FreeAgent account.Connect FreeAgent to Make

For field descriptions, see the FreeAgent API reference.

Updates a specified task.

Connection

Establish a connection to your FreeAgent account.Connect FreeAgent to Make

Task ID

Select or map the Task ID whose details you want to update.

For field descriptions, see the FreeAgent API reference.

Deletes a specified task.

Connection

Establish a connection to your FreeAgent account.Connect FreeAgent to Make

Task ID

Select or map the Task ID you want to delete.

Users

You can watch users using the following module.

Watches for newly created users.

Connection

Establish a connection to your FreeAgent account.Connect FreeAgent to Make

Limit

Set the maximum number of users Make will return during one execution cycle. The default value is 2.

Invoices

You can watch, retrieve, create, search, and delete invoices using the following modules.

Watches for newly created invoices

Connection

Establish a connection to your FreeAgent account.Connect FreeAgent to Make

Limit

Set the maximum number of invoices Make will return during one execution cycle. The default value is 2.

Creates a new invoice.

Connection

Establish a connection to your FreeAgent account.Connect FreeAgent to Make

For field descriptions, see the FreeAgent API reference.

Returns a specified invoice.

Connection

Establish a connection to your FreeAgent account.Connect FreeAgent to Make

Invoice ID

Select or map the Invoice ID whose details you want to retrieve.

Searches for invoices or lists them all.

Connection

Establish a connection to your FreeAgent account.Connect FreeAgent to Make

Limit

Set the maximum number of invoices Make will return during one execution cycle. The default value is 10.

See FreeAgent Invoice API reference for entering the field values to search the invoices that match the specified value.

Deletes a specified invoice.

Connection

Establish a connection to your FreeAgent account.Connect FreeAgent to Make

Invoice ID

Select or map the Invoice ID you want to delete.

Other

You can call APIs using the following module.

Note

For the list of available endpoints, refer to the FreeAgent API documentation.

Performs an arbitrary authorized API call.

Connection

Establish a connection to your FreeAgent account.Connect FreeAgent to Make

URL

Enter a path relative to https://api.freeagent.com. For example, /v2/users/me

Method

GET

to retrieve information for an entry.

POST

to create a new entry.

PUT

to update/replace an existing entry.

PATCH

to make a partial entry update.

DELETE

to delete an entry.

Headers

Enter the desired request headers. You don't have to add authorization headers; we already did that for you.

Query String

Enter the request query string.

Body

Enter the body content for your API call.

Example of use - List Contacts

The following API call returns all the contacts from your FreeAgent account.

URL/v2/contacts

MethodGET

FreeAgent_4.png

Matches of the search can be found in the module's Output under Bundle > Body > contacts

In our example 5 contacts were returned:

FreeAgent_5.png