APIAPI Key Management

Generate API Key

Generate a new API key or regenerate if one already exists. **IMPORTANT**: - The full API key is only shown once. Save it securely. - If you regenerate, the old key will be invalidated immediately.

POST
/user/api-key/generate

Generate a new API key or regenerate if one already exists.

IMPORTANT:

  • The full API key is only shown once. Save it securely.
  • If you regenerate, the old key will be invalidated immediately.

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

curl -X POST "https://example.com/user/api-key/generate"
{  "success": true,  "data": "taisly_a1b2c3d4e5f6..."}
{  "success": false}