Approve Registration
Profiles
Approve Registration
Approve a pending user registration (admin only)
POST
Approve Registration
Authentication
Bearer token:
Bearer <admin_token>This endpoint requires admin privileges.
Path Parameters
The user’s profile ID (UUID)
Example Request
Response
Success message
Generated client identifier for API access
Generated API secret (only shown once!)
Example Response
What Happens
- Credentials Generated - A unique
client_idandclient_secretare created - Secret Hashed - The secret is hashed with bcrypt before storage
- Status Updated - Profile status changes to
approved - Email Sent - Credentials are emailed to the user via Resend
Errors
| Status | Description |
|---|---|
| 401 | Invalid or expired token |
| 403 | Admin access required |
| 404 | User not found |
| 409 | User already approved or rejected |

