---
search:
  tags:
    - api-keys
    - POST
seo:
  description: >-
    The secret is returned once, in this response, and cannot be recovered
    afterwards.… Reference for the POST /v1/api-keys endpoint in the Subako
    Public API API.
sidebar:
  label: Mint an API key
  badge: POST
title: Mint an API key
type: openapi-operation
---
The secret is returned once, in this response, and cannot be recovered afterwards. A key belongs to the workspace it was minted in and carries the permissions named here.

<Operation source="api" id="mint-api-key" />
