Skip to main content
POST
Generate API key
The authenticated user can only manage their own API key. The {email} in the path must match the identity of the JWT in the cookie access_token_cookie.

Path parameters

string
required
User’s email address. It must match the authenticated user.

Request body

integer
Expiration date in Unix seconds. Optional. If given, it must be a future date at least 1 day ahead.

Response

boolean
true if the API key was generated successfully.
object
Data of the generated API key.