---
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`

## 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`
- Auth: none declared

## 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

- **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

[Operation history](https://skmtc.dev/outcallerai/apis/outcallerai-api/changes/api/workspaces/:workspace_id/human-agents/post.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)
