Skip to main content
POST
Create a new API key for the authenticated user

Authorizations

Authorization
string
header
required

Rocksky bearer token.

Body

application/json
name
string
required

The name of the API key.

description
string

A description for the API key.

Response

Success

id
string

The unique identifier of the API key.

name
string

The name of the API key.

description
string

A description for the API key.

createdAt
string<date-time>

The date and time when the API key was created.