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

---

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