Skip to main content
POST
/
api
/
keys
/
generate
Generate a new API key
curl --request POST \
  --url https://mag3nt.com/api/keys/generate \
  --header 'Authorization: Bearer <token>'
{
  "api_key": "sx_live_a1b2c3d4e5f6g7h8"
}

Documentation Index

Fetch the complete documentation index at: https://docs.mag3nt.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Session token from POST /api/auth/verify

Response

200 - application/json

Key generated

api_key
string
Example:

"sx_live_a1b2c3d4e5f6g7h8"