users

Create Api Key

Create a new API key for the current user.

The raw key is returned ONCE in the response. It cannot be retrieved again.

post/v1/users/me/api-keys

Request

  • Base URL: https://api.superdocs.app
  • URL: https://api.superdocs.app/v1/users/me/api-keys
  • Auth: HTTP bearer

Request body

namestring required

A label for this key (e.g., 'My App', 'CI Pipeline').

Response

Successful Response

idstring required

Key identifier (UUID). Use this to revoke the key later.

namestring required

Label you assigned to this key.

keystring required

The full API key (sk_... format). Copy this now — it cannot be retrieved again.

key_prefixstring required

First 7 characters of the key (e.g., 'sk_a1b2') for identification.

created_atstring required

ISO 8601 timestamp when the key was created.

Changes

No recorded changes to this operation across all 1 revision of this API.