Overview

An account is the highest-level container for your companies and their locations. With accounts, you can keep client's data separate from each other.

Default Fields

The following fields are used to access account data:

FieldTypeDescription
namestringThe name associated to the account. Usually a business name.
idintThe ID associated to the account used to make API calls associated to the account.

List All Accounts

Use this URL to list all accounts for the authenticated user:

https://ad1.replypro.io/api/public/accounts

The return will look like this:

{
  "next": null,
  "previous": null,
  "results": [
    {
      "id": 48675,
      "name": "Wallstreet"
    },
    {
      "id": 586752,
      "name": "Big Wigs"
    }
  ]
}

🚧

Pagination For 50+ Accounts

If you are trying to request for more than 50 accounts, you will need to use pagination.

Get Account

Use this URL to request a single account:

https://ad1.replypro.io/api/public/accounts/<account_id>

The return will look like this:

{
  "next": null,
  "previous": null,
  "results": [
    {
      "id": 48675,
      "name": "Wallstreet"
    }
  ]
}

Filtering

Looking to filter by specific values in a field? Checkout Filters


What’s Next

Accessing group or business information in each account