---
title: "Update Hunt Alert routing"
method: PUT
path: "/api/alert-routing/hunt-alerts"
tags: ["Alerts"]
---

# Update Hunt Alert routing

`PUT /api/alert-routing/hunt-alerts`

## Request

- Base URL: `https://app.cotool.ai`
- URL: `https://app.cotool.ai/api/alert-routing/hunt-alerts`
- Auth: HTTP bearer

Set the agent that triages new Hunt Alerts, or null to leave them unassigned. Hunt Alerts do not use the organization default.

## Request body

- object
  - `responseAgentId` string, uuid, nullable, required: Response agent that triages new Hunt Alerts, or null to leave them unassigned

## Response `200`

Successful response

- object
  - `huntAlertRouting` object, required
    - `responseAgentId` string, uuid, nullable, required: Response agent that triages new Hunt Alerts, or null to leave them unassigned
    - `responseAgentName` string, nullable, required: Display name for the Hunt Alert response agent
  - `responseAgents` object[], required
    - `id` string, uuid, required: Response agent identifier
    - `name` string, required: Response agent display name

## Other responses

- `400`: Bad request — input validation failed or the request was malformed
- `401`: Unauthorized — missing or invalid API key / session
- `403`: Forbidden — the authenticated user lacks the required permissions
- `500`: Internal server error

---

[API](https://skmtc.dev/cotool/apis/cotool-api.md) - [All operations](https://skmtc.dev/cotool/apis/cotool-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cotool/apis/cotool-api/revisions/f5abe0add203?raw)
