{ "success": true, "data": { "id": "key_abc123", "name": "Production API", "key": "bsk_live_abc123def456ghi789jkl012mno345pqr678stu901", "prefix": "bsk_live_abc1", "scopes": ["members:read", "webhooks:read"], "rateLimit": 1000, "expiresAt": null, "createdAt": "2024-01-15T10:00:00Z" }, "message": "API key created successfully. Save it now - you won't be able to see it again!"}
{ "success": true, "data": { "id": "key_abc123", "name": "Production API", "key": "bsk_live_abc123def456ghi789jkl012mno345pqr678stu901", "prefix": "bsk_live_abc1", "scopes": ["members:read", "webhooks:read"], "rateLimit": 1000, "expiresAt": null, "createdAt": "2024-01-15T10:00:00Z" }, "message": "API key created successfully. Save it now - you won't be able to see it again!"}
Creates a new API key for the organization. The full key value is returned only once in this response. Store it securely — it cannot be retrieved again.
{ "success": true, "data": { "id": "key_abc123", "name": "Production API", "key": "bsk_live_abc123def456ghi789jkl012mno345pqr678stu901", "prefix": "bsk_live_abc1", "scopes": ["members:read", "webhooks:read"], "rateLimit": 1000, "expiresAt": null, "createdAt": "2024-01-15T10:00:00Z" }, "message": "API key created successfully. Save it now - you won't be able to see it again!"}