---
search:
  tags:
    - API Keys
    - POST
seo:
  description: >-
    Creates a new project-scoped API key. The plaintext api_key is returned
    EXACTLY… Reference for the POST /v1/api-keys endpoint in the AVTR Public API
    v1 API.
sidebar:
  badge: POST
  label: Create an API key
title: Create an API key
type: openapi-operation
---
Creates a new project-scoped API key. The plaintext `api_key` is returned EXACTLY ONCE in the response; AVTR stores only the SHA-256 hash and cannot recover the plaintext.

V0 API keys do NOT expire (Decision D6). Only explicit revocation (DELETE /v1/api-keys/&#123;key_id&#125;) disables them.

<Operation source="reference" id="post-v1-api-keys" />
