Skip to main content
GET
/
account-groups
/
{accountCategoryId}
Get an account group for a company
curl --request GET \
  --url https://openapi.pleo.io/v1/account-groups/{accountCategoryId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "typeKey": "entertainment",
  "hidden": true,
  "accounts": [
    {
      "id": "<string>",
      "name": "<string>",
      "accountCategoryId": "<string>",
      "hidden": true,
      "accountNumber": "<string>",
      "taxCodeId": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Open API Bearer token

Path Parameters

accountCategoryId
string
required

Unique UUID of the account.

Example:

"0f0e000-000d-0d00-000b-00db0d000fae"

Response

An account group has been returned

id
string
required

The unique UUID identifier of the account group

name
string
required

Description of the account group

typeKey
enum<string>
required

Type key of the account group

Available options:
entertainment,
equipment_and_hardware,
marketing_and_advertising,
meals_and_drinks,
office_expenses,
phone_and_internet,
services_and_consultancy,
software,
supplies,
travel,
other,
no_suitable_category
hidden
boolean
required

Is the account hidden/archived for the user

accounts
object[]