---
title: "Create Human Agent Api"
method: POST
path: "/api/workspaces/{workspace_id}/human-agents"
---

# Create Human Agent Api

`POST /api/workspaces/{workspace_id}/human-agents`

## Path parameters

- `workspace_id` string, required

## Request body

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

## Response `201`

Successful Response

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

## Other responses

- `422` — Validation Error

## Changes

> 16 revisions in range; 3 could not be searched.

- **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 `201` status
  - removed the required property `human_agent/createdAt` from the response with the `201` status
  - removed the required property `human_agent/id` from the response with the `201` status
  - …4 more

[Change history](https://skmtc.dev/outcallerai/apis/fastapi/changes/api/workspaces/:workspace_id/human-agents/post.md)

---

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