Skip to main content

Create an API key

POST 

/api-key

Creates a new API key scoped to the store. The plaintext key is returned ONLY in this response (and on rotate) and can never be retrieved again - store it securely. Requires the canAccessApiKeys plan feature.

Request

Responses

API key created. The data.key field contains the plaintext key, shown only once.