---
search:
  tags:
    - API Keys
    - POST
seo:
  description: >-
    Creates an organization-wide API key and returns its secret exactly once, in
    the key field.… Reference for the POST /api-keys endpoint in the AI Inbx API
    API.
sidebar:
  label: Create an API key
  badge: POST
title: Create an API key
type: openapi-operation
---
Creates an organization-wide API key and returns its secret exactly once, in the `key` field. Store it before the response is discarded — it cannot be recovered. Choose the narrowest scope the caller needs: `read`, `sending`, or `full`. The key reaches the whole workspace, spaces included.

<Operation source="api-endpoints" id="create-api-key" />
