---
title: "List all revenue categories"
method: GET
path: "/ext/v2/revenue-categories/"
tags: ["Service Pricing"]
---

# List all revenue categories

`GET /ext/v2/revenue-categories/`

## Request

- Base URL: `https://connect.vetcove.com`
- URL: `https://connect.vetcove.com/ext/v2/revenue-categories/`
- Auth: HTTP bearer

This endpoint is available to Group API Keys only.

Returns a list of all revenue categories in the organization. The categories are sorted by creation date, with the most recent appearing first.

A **revenue category** classifies services for financial reporting purposes (e.g., "Professional Services", "Diagnostics", "Surgery"). Each group service is assigned to a revenue category.

## Query parameters

- `ids` integer[], nullable: When provided, filters to objects with these IDs.
- `ending_before` integer, nullable: A cursor used for pagination. Fetches the page of results ending immediately before the object with the given ID. Cannot be used at the same time as `starting_after`.
- `starting_after` integer, nullable: A cursor used for pagination. Fetches the page of results starting immediately after the given ID. Cannot be used at the same time as `ending_before`.
- `limit` integer: The maximum number of items to return per page.

## Response `200`

OK

- ExternalRevenueCategorySchemaList
  - `data` ExternalRevenueCategorySchema[], required: A single page of data contained within this list.
    - `id` integer, required: The unique identifier for the revenue category.
    - `name` string, required: The name of this revenue category.
  - `has_more` boolean: Whether there are more pages or data in this list.
  - `next_page` string, required: A URL linking to the next page of this list.
  - `type` string: Type of this object. Always `list`.

---

[API](https://skmtc.dev/vetcove/apis/ninjaapi.md) - [All operations](https://skmtc.dev/vetcove/apis/ninjaapi/llms.txt) - [OpenAPI document](https://skmtc.dev/vetcove/apis/ninjaapi/revisions/4ceaed956e15?raw)
