Skip to main content
GET
/
v6
/
categories
Get categories
curl --request GET \
  --url https://sandbox.tight.com/v6/categories \
  --header 'Authorization: Bearer <token>'
{
  "result": "SUCCESS",
  "data": {
    "expense": [
      {
        "id": "gla_167243195",
        "name": "Wages",
        "status": "ACTIVE",
        "iconUrl": "https://cdn.sandbox.tight.com/icons/expenseCategories/payroll.svg",
        "children": [
          {
            "id": "gla_167243196",
            "name": "Officer(s) Salaries and Wages",
            "status": "ACTIVE",
            "iconUrl": "https://cdn.sandbox.tight.com/icons/expenseCategories/payroll.svg"
          }
        ],
        "customData": {
          "internal_key": "some_internal_key",
          "some_other_field": 23434
        }
      }
    ],
    "revenue": [
      {
        "id": "gla_167243195",
        "name": "Wages",
        "status": "ACTIVE",
        "iconUrl": "https://cdn.sandbox.tight.com/icons/expenseCategories/payroll.svg",
        "children": [
          {
            "id": "gla_167243196",
            "name": "Officer(s) Salaries and Wages",
            "status": "ACTIVE",
            "iconUrl": "https://cdn.sandbox.tight.com/icons/expenseCategories/payroll.svg"
          }
        ],
        "customData": {
          "internal_key": "some_internal_key",
          "some_other_field": 23434
        }
      }
    ],
    "transfer": [
      {
        "id": "gla_167243195",
        "name": "Wages",
        "status": "ACTIVE",
        "iconUrl": "https://cdn.sandbox.tight.com/icons/expenseCategories/payroll.svg",
        "children": [
          {
            "id": "gla_167243196",
            "name": "Officer(s) Salaries and Wages",
            "status": "ACTIVE",
            "iconUrl": "https://cdn.sandbox.tight.com/icons/expenseCategories/payroll.svg"
          }
        ],
        "customData": {
          "internal_key": "some_internal_key",
          "some_other_field": 23434
        }
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, see Authentication for more detail.

Response

Success

result
enum<string>

The result of the action performed.

Available options:
SUCCESS,
FAILURE
data
object

The data generated by the action performed.