API Reference
cURL
curl --request POST \ --url https://api.runly.pro/v1/security/apikey/generate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "description": "My Laptop" } '
{ "status": { "code": 200, "message": "OK", "trace_id": "tr_key_gen" }, "data": { "api_key": "rk_...", "note": "This is a Root Key..." }, "usage": { "latency_ms": 30 } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"My Laptop"
Generation Result
Show child attributes