Reference · Categories
List categories
GET
https://api.paygoro.com/v1/categoriesLists the workspace's transaction categories, including the defaults Paygoro seeds. Categories are workspace-wide, not per company.
Authorization
Requires a bearer API key with categories:read. See Authentication.
Response
200 · application/json
| Field | Type | Description |
|---|---|---|
data | array of object | |
id | string | Opaque resource id. |
name | string | |
slug | string | URL-safe, unique within the workspace. |
color | string | null | |
description | string | null | |
isSystem | boolean | True for the default categories Paygoro seeds in every workspace. |
createdAt | string (date-time) | Timestamp in RFC 3339 format (UTC). |
Errors
| 400 | BAD_REQUEST | The request was malformed or failed validation. |
| 401 | UNAUTHORIZED | Missing, malformed, expired or revoked API key. |
| 403 | FORBIDDEN | The API key does not have the scope this operation requires. |
| 404 | NOT_FOUND | No resource with this id exists in your workspace, or a `companyId` filter does not match one of your companies. |
| 429 | TOO_MANY_REQUESTS | Rate limit exceeded. Retry after the `Retry-After` header. |
All errors share one envelope — see Errors.