---
title: "Update Human Agent Api"
method: PUT
path: "/api/workspaces/{workspace_id}/human-agents/{agent_id}"
---

# Update Human Agent Api

`PUT /api/workspaces/{workspace_id}/human-agents/{agent_id}`

## Request

- Base URL: `https://api.outcallerai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.outcallerai.com/api/workspaces/{workspace_id}/human-agents/{agent_id}`
- Auth: none declared

## Path parameters

- `workspace_id` string, required
- `agent_id` string, required

## Request body

- HumanAgentWriteRequest
  - `useCaseId` string, required
  - `name` string, required
  - `phone` string, required
  - `agent_id` string, nullable
  - `countryCode` string, nullable

## Response `200`

Successful Response

- HumanAgentEnvelopeResponse
  - `success` boolean
  - `human_agent` HumanAgentResponse, required
  - `message` string, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-07-31** `7c9aff2501f3`: 7 breaking, 1 warning
  - added the new required request property `useCaseId`
  - removed the required property `human_agent/campaignId` from the response with the `200` status
  - removed the required property `human_agent/createdAt` from the response with the `200` status
  - removed the required property `human_agent/id` from the response with the `200` status
  - …4 more

[Operation history](https://skmtc.dev/outcallerai/apis/outcallerai-api/changes/api/workspaces/:workspace_id/human-agents/:agent_id/put.md)

---

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