---
title: "Bulk Categorize Leads"
method: POST
path: "/v1/organizations/organization/bulk-categorize"
tags: ["Organisations"]
---

# Bulk Categorize Leads

`POST /v1/organizations/organization/bulk-categorize`

Bulk categorize existing leads based on CSV data and rules.

## Request body

- BulkCategorizeRequest
  - `username_column` string, required
  - `rules` BulkCategorizeRule[], required
    - `column` string, required
    - `operator` string, required
    - `value` string, required
    - `classification_id` string, required
  - `rows` object[], required

## Response `200`

Successful Response

- BulkCategorizeResponse
  - `total_rows` integer, required
  - `matched` integer, required
  - `not_found` integer, required
  - `categorized` object, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/orsay/apis/fastapi.md) · [All operations](https://skmtc.dev/orsay/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/orsay/fastapi/revisions/66e6e334b2dc/schema)
