curl -X POST https://api.rigbox.dev/api/api-keys \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Production Bot"}'
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"key": "rb_live_abc123def456..."
}
Generate a new API key. The full key is only returned once.
curl -X POST https://api.rigbox.dev/api/api-keys \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Production Bot"}'
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"key": "rb_live_abc123def456..."
}
curl -X POST https://api.rigbox.dev/api/api-keys \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Production Bot"}'
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"key": "rb_live_abc123def456..."
}
key field) is shown only once. Store it in a secure location immediately.