> ## Documentation Index
> Fetch the complete documentation index at: https://docs.telzino.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Agent in Organization

> Creates a new agent scoped to the specified organization

## Overview

Creates a minimal agent (title, description, external\_id) under the given organization. For creating an agent with full configuration (voice, prompts, model, etc.) use [`POST /v1/agents`](/api-reference/agents/create) instead.

The agent is created with the standard Cartesia voice (*Katie – Friendly Fixer*) on the `sonic-3.5` model. Update the voice later via [`PUT /v1/agents/{id}`](/api-reference/agents/update) or in the dashboard.

## Path Parameters

<ParamField path="organization_id" type="string" required>
  Organization ID (UUID) to create the agent under
</ParamField>

## Request Body

<ParamField body="title" type="string" required>
  Name of the agent (1–255 characters)
</ParamField>

<ParamField body="description" type="string">
  Description of what the agent does (max 1000 characters)
</ParamField>

<ParamField body="external_id" type="string">
  External identifier for integration with your systems (max 255 characters)
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST "https://api.telzino.com/v1/organizations/org-abc12345-e89b-12d3-a456-426614174000/agents" \
    -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{
      "title": "Support Bot",
      "description": "Handles support tickets",
      "external_id": "external-agent-123"
    }'
  ```

  ```javascript JavaScript theme={null}
  const organizationId = 'org-abc12345-e89b-12d3-a456-426614174000';

  const response = await fetch(
    `https://api.telzino.com/v1/organizations/${organizationId}/agents`,
    {
      method: 'POST',
      headers: {
        'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
        'Content-Type': 'application/json'
      },
      body: JSON.stringify({
        title: 'Support Bot',
        description: 'Handles support tickets',
        external_id: 'external-agent-123'
      })
    }
  );

  const { id } = await response.json();
  ```

  ```python Python theme={null}
  import requests

  organization_id = 'org-abc12345-e89b-12d3-a456-426614174000'

  response = requests.post(
      f'https://api.telzino.com/v1/organizations/{organization_id}/agents',
      headers={'Authorization': 'Bearer YOUR_ACCESS_TOKEN'},
      json={
          'title': 'Support Bot',
          'description': 'Handles support tickets',
          'external_id': 'external-agent-123'
      }
  )

  agent = response.json()
  ```
</RequestExample>

<ResponseExample>
  ```json 201 theme={null}
  {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  }
  ```

  ```json 400 theme={null}
  {
    "error": "Invalid request data",
    "details": [
      {
        "code": "too_small",
        "minimum": 1,
        "type": "string",
        "inclusive": true,
        "message": "Title is required",
        "path": ["title"]
      }
    ]
  }
  ```

  ```json 404 theme={null}
  {
    "error": "Organization not found"
  }
  ```

  ```json 500 theme={null}
  {
    "error": "Failed to create agent"
  }
  ```
</ResponseExample>

## Response Fields

| Field | Type          | Description                   |
| ----- | ------------- | ----------------------------- |
| `id`  | string (UUID) | ID of the newly created agent |
