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

# Criar Chave EPP

> Gera uma chave de ativação para plataforma de proteção de endpoint (Antivírus).

## Visão Geral

Gera uma chave de licença (EPP Key) para ativar a proteção em um dispositivo específico.

## Autenticação

<ParamField header="x-api-key" type="string" required>
  Sua chave de API fornecida pela Zentek.
</ParamField>

## Request Body

<ParamField body="operatingSystem" type="string" required>
  Sistema operacional do dispositivo (`android`, `ios`, `windows`, `macos`).
</ParamField>

<ParamField body="type" type="string" required>
  Tipo de proteção: `antivirus`.
</ParamField>

<ParamField body="deviceName" type="string" required>
  Nome amigável para identificar o dispositivo.
</ParamField>

<ParamField body="userHash" type="string" required>
  Hash único do usuário.
</ParamField>

## Exemplo de Request

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST "https://api.partner.zentek.com.br/v1/cyber/epp" \
    -H "Content-Type: application/json" \
    -H "x-api-key: SUA_API_KEY" \
    -d '{
      "operatingSystem": "android",
      "type": "antivirus",
      "deviceName": "Meu Celular",
      "userHash": "a1b2c3d4e5f6..."
    }'
  ```
</CodeGroup>

## Response

<ResponseExample>
  ```json 200 - Sucesso theme={null}
  {
    "eppKey": "ABCD-1234-EFGH-5678",
    "validUntil": "2025-12-31T23:59:59Z"
  }
  ```
</ResponseExample>
