REST API
Verticals API
Generated from the Celerp 2.4.0 OpenAPI schema, 16 September 2026.
POST /companies/me/apply-category
Apply Category
Parameters
| Name | In | Required | Type | Description |
|---|
name | query | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/companies/me/apply-category \
-H "Authorization: Bearer $TOKEN"
POST /companies/me/apply-preset
Apply Preset
Parameters
| Name | In | Required | Type | Description |
|---|
vertical | query | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/companies/me/apply-preset \
-H "Authorization: Bearer $TOKEN"
GET /companies/verticals/categories
List Categories
Responses
| Status | Description | Body |
|---|
200 | Successful Response | array of object |
Example
curl -X GET http://localhost:8000/companies/verticals/categories \
-H "Authorization: Bearer $TOKEN"
GET /companies/verticals/categories/{name}
Get Category
Parameters
| Name | In | Required | Type | Description |
|---|
name | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/companies/verticals/categories/:name \
-H "Authorization: Bearer $TOKEN"
GET /companies/verticals/presets
List Presets
Responses
| Status | Description | Body |
|---|
200 | Successful Response | array of object |
Example
curl -X GET http://localhost:8000/companies/verticals/presets \
-H "Authorization: Bearer $TOKEN"