---
title: "Create agent"
method: POST
path: "/api/v1/public/agents"
tags: ["public"]
---

# Create agent

`POST /api/v1/public/agents`

Create a voice agent in the authenticated workspace.

## Headers

- `Idempotency-Key` string, nullable

## Request body

- AgentCreateRequest
  - `name` string, required
  - `gender` string, required

## Response `201`

Successful Response

- OutcallerApiApiPublicSchemasAgentResponse
  - `id` string, required
  - `name` string, required
  - `gender` string, required
  - `temperature` number, required
  - `agentTalksFirst` boolean, required
  - `interruptable` boolean, required
  - `vadEnabled` boolean, required
  - `minimumTurnDuration` integer, required
  - `turnEndpointDelay` integer, required
  - `minimumInterruptionDuration` integer, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, 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/4cbf44e1d4fd/schema)
