OTB category catalog + onboarding questionnaire
const url = 'https://api.tovarifinancial.com/categories/catalog';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.tovarifinancial.com/categories/catalog \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Catalog
object
object
object
object
object
object
Examplegenerated
{ "data": { "sections": [ { "code": "example", "label": "example", "sortOrder": 1 } ], "categories": [ { "code": "example", "sectionCode": "example", "label": "example", "iconCode": "example", "colorCode": "example", "isCore": true, "sortOrder": 1 } ], "questions": [ { "id": "example", "prompt": "example", "multi": true, "options": [ { "value": "example", "label": "example", "primaryCode": "example", "relatedCodes": [ "example" ] } ] } ] }, "message": "example", "requestId": "example", "timestamp": "2026-04-15T12:00:00Z"}Missing, invalid, or expired bearer token
object
Machine-readable error code (AUTH_ERROR_CODES).
Optional field-level validation errors, keyed by field name.
object
Example
{ "errorCode": "INVALID_EMAIL_FORMAT"}Internal error (no internal detail leaked)
object
Machine-readable error code (AUTH_ERROR_CODES).
Optional field-level validation errors, keyed by field name.
object
Example
{ "errorCode": "INVALID_EMAIL_FORMAT"}Service temporarily unavailable — errorCode is SERVICE_UNAVAILABLE. A TRANSIENT, RETRYABLE condition rather than a defect in the request: a query that exceeded its time budget, a lost or refused database connection, a saturated connection pool, or an outage at an upstream provider the request depends on (the authentication provider, or the bank data provider on a bank-connection operation). The identical request may succeed on retry — back off briefly and, on a write, resend the same X-Idempotency-Key where the operation accepts one.
object
Machine-readable error code (AUTH_ERROR_CODES).
Optional field-level validation errors, keyed by field name.
object
Example
{ "errorCode": "INVALID_EMAIL_FORMAT"}