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: <api-key>'
{
  "api_key": "sx_live_a1b2c3d4e5f6g7h8"
}

Authorizations

Authorization
string
header
required

API key prefixed with 'Bearer sx_live_...'

Response

200 - application/json

Key generated

api_key
string
Example:

"sx_live_a1b2c3d4e5f6g7h8"