Try the PracticeFlow API in Swagger
Introduction
Swagger is the PracticeFlow API's documentation page. It lists every request you can make, and you can use it to run requests and see your own data without writing any code.
Open Swagger: https://app.practiceflow.co.uk/api/v1/docs
You can read the documentation without an API key. To run requests, you need a key. If you do not have one yet, see PracticeFlow API.
This example lists the first five individuals in your account who are clients. It only reads data, so it is safe to run on your live account.

Step 1: Enter your API key
- Click Authorize at the top right of the page.
- Paste your API key into the Value box.
- Click Authorize.

The window now shows Authorized, with your key hidden. Click Close.

The padlock icons next to each request now show as locked. Swagger sends your key with every request until you close or refresh the page. If you refresh, enter your key again.
Step 2: Choose a request
- Click GET /v1/individuals (List individuals) to open it.
- Click Try it out on the right.

Step 3: Choose what to return and run the request
The boxes can now be edited. You do not have to fill any in. By default you get page 1 with 50 records.
For this example, enter:
- pageSize: 5
- relationshipType: client
Leave the other boxes as they are, then click Execute. This is the wide blue bar under the boxes. It is easy to mistake for a banner.

Step 4: Read the result
Scroll down to Server response. A code of 200 means the request worked. The Response body shows your data, one record after another.

You can ignore the other sections, such as Curl and Response headers. They are mainly for developers.
To see every field a record can contain, scroll down to Responses, click Schema and then click Expand all.
Step 5: Get a single record
- Copy an id from the response body, without the quotation marks.
- Open GET /v1/individuals/{id} (Get an individual) and click Try it out.
- Paste the id into the id box and click Execute.
The same steps work for organisations and tasks.
If it does not work
- Code 401 (unauthorized): the API key is missing or not valid. Click Authorize and check you pasted the whole key. If you refreshed the page, enter the key again. If the key has been revoked, create a new one.

- Code 429: you have made more than 60 requests in a minute. Wait a minute and try again.
- No data returned: check the boxes in Step 3. For example, relationshipType: client only returns clients.
For more about keys, paging, filtering and limits, see PracticeFlow API.