Browse the docs

Reference · Categories

List categories

GEThttps://api.paygoro.com/v1/categories

Lists 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

FieldTypeDescription
dataarray of object
idstringOpaque resource id.
namestring
slugstringURL-safe, unique within the workspace.
colorstring | null
descriptionstring | null
isSystembooleanTrue for the default categories Paygoro seeds in every workspace.
createdAtstring (date-time)Timestamp in RFC 3339 format (UTC).

Errors

400BAD_REQUESTThe request was malformed or failed validation.
401UNAUTHORIZEDMissing, malformed, expired or revoked API key.
403FORBIDDENThe API key does not have the scope this operation requires.
404NOT_FOUNDNo resource with this id exists in your workspace, or a `companyId` filter does not match one of your companies.
429TOO_MANY_REQUESTSRate limit exceeded. Retry after the `Retry-After` header.

All errors share one envelope — see Errors.