---
title: "Create Agent"
method: POST
path: "/api/admin/agents"
tags: ["admin-agents"]
---

# Create Agent

`POST /api/admin/agents`

## Request body

- OutcallerApiAdminSchemasAgentsCreateAgentRequest
  - `workspace_id` string, required
  - `use_case_id` string, nullable
  - `name` string, required
  - `gender` string
  - `voice_id` string[]
  - `voice_url` string, nullable
  - `temperature` number
  - `agent_talks_first` boolean
  - `interruptable` boolean
  - `vad_enabled` boolean
  - `minimum_turn_duration` integer
  - `turn_endpoint_delay` integer
  - `minimum_interruption_duration` integer

## Response `201`

Successful Response

- AgentDetail
  - `id` string, required
  - `name` string, required
  - `workspace_id` string, required
  - `workspace_name` string, required
  - `use_case_id` string, nullable
  - `use_case_name` string, nullable
  - `gender` string, required
  - `voice_id` string[]
  - `voice_url` string, nullable
  - `temperature` number
  - `agent_talks_first` boolean
  - `interruptable` boolean
  - `vad_enabled` boolean
  - `minimum_turn_duration` integer
  - `turn_endpoint_delay` integer
  - `minimum_interruption_duration` integer
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-07-31** `7c9aff2501f3` — 3 warning, 3 info
  - removed the request property `campaign_id`
  - removed the optional property `campaign_id` from the response with the `201` status
  - removed the optional property `campaign_name` from the response with the `201` status
  - added the new optional request property `use_case_id`
  - …2 more

[Change history](https://skmtc.dev/outcallerai/apis/fastapi/changes/api/admin/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/7c9aff2501f3/schema)
