Skip to main content
POST
Approve Registration

Authentication

string
required
Bearer token: Bearer <admin_token>
This endpoint requires admin privileges.

Path Parameters

string
required
The user’s profile ID (UUID)

Example Request

Response

string
Success message
string
Generated client identifier for API access
string
Generated API secret (only shown once!)

Example Response

The client_secret is only returned once and cannot be retrieved later. Store it securely.

What Happens

  1. Credentials Generated - A unique client_id and client_secret are created
  2. Secret Hashed - The secret is hashed with bcrypt before storage
  3. Status Updated - Profile status changes to approved
  4. Email Sent - Credentials are emailed to the user via Resend

Errors