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

# Criar Calendário

> Criar um calendário

# Criar Calendário

Criar um novo calendário.

## Endpoint

```
POST /api/v1/calendars
```

## Cabeçalhos da requisição

<ParamField header="Authorization" type="string" required>
  Token Bearer para autenticação. Formato: `Bearer talq_your_environment_token_here`
</ParamField>

<ParamField header="Content-Type" type="string" required>
  Deve ser definido como `application/json`
</ParamField>

## Corpo da requisição

<ParamField body="name" type="string" required>Nome do calendário. Máximo de 255 caracteres.</ParamField>
<ParamField body="timezone" type="string">IANA timezone (ex: `America/Sao_Paulo`). Padrão é o fuso horário do ambiente.</ParamField>
<ParamField body="owner_id" type="string" required>UUID do usuário proprietário do calendário.</ParamField>
<ParamField body="metadata" type="object">Metadados livres opcionais.</ParamField>

## Exemplos

<RequestExample>
  ```bash theme={null}
  curl -X POST "https://app.talkover.ai/api/v1/calendars" \
    -H "Authorization: Bearer talq_your_environment_token_here" \
    -H "Content-Type: application/json" \
    -d '{
      "name": "Sales Demo Calendar",
      "timezone": "America/Sao_Paulo",
      "owner_id": "user-uuid-1"
    }'
  ```
</RequestExample>

## Resposta

<ResponseExample>
  ```json theme={null}
  {
    "success": true,
    "data": {
      "id": "calendar-uuid-1",
      "name": "Sales Demo Calendar",
      "timezone": "America/Sao_Paulo",
      "owner_id": "user-uuid-1",
      "created_at": "2024-01-15T18:00:00Z"
    }
  }
  ```
</ResponseExample>
