Get categories
GET/api/v8/partner/categories
Get categories
Request
Query Parameters
q string
Only return categories whose name contains this text.
order_by string
Possible values: [name, -name]
Default value: name
Sort the categories by name, ascending or descending.
Responses
- 200
A list of categories.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
results object[]required
id integerrequired
Possible values: > 0
The unique identifier of the category.
name stringrequired
Possible values: non-empty
The name of the category.
is_default booleanrequired
Whether the category is one of the account's default categories, the list used to categorize documents.
{
"results": [
{
"id": 0,
"name": "string",
"is_default": true
}
]
}
Loading...