---
title: "Create Smartadvocate Case Status Rule"
method: POST
path: "/smartadvocate/case-status-rules"
tags: ["SmartAdvocate"]
---

# Create Smartadvocate Case Status Rule

`POST /smartadvocate/case-status-rules`

Create a case status routing rule for the customer.

## Request body

- SmartAdvocateCaseStatusRuleCreateRequest — Create a case status routing rule
  - `sa_status_id` integer, required
  - `status_name` string, required
  - `status_type_name` string, nullable
  - `destination_kind` 'destination' | 'case_staff', required
  - `transfer_destination_id` string, uuid, nullable — Required when destination_kind is 'destination'
  - `staff_role` string, nullable — Required when destination_kind is 'case_staff', e.g. 'Negotiator'
  - `active` boolean

## Response `200`

Successful Response

- SmartAdvocateCaseStatusRuleResponse — One per-customer case status -> transfer destination routing rule
  - `smartadvocate_case_status_rule_id` string, uuid, required
  - `sa_status_id` integer, required
  - `status_name` string, required
  - `status_type_name` string, nullable — None = primary case status rule; otherwise the second-status type this rule matches within
  - `destination_kind` 'destination' | 'case_staff', required
  - `transfer_destination_id` string, uuid, nullable
  - `staff_role` string, nullable
  - `active` boolean, required

## Other responses

- `422` — Validation Error

---

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