Clara-Backend
  1. Auth
Clara-Backend
  • Get Started
  • Quickstart (Rest API)
  • Quickstart (MCP Server)
  • Auth
    • Register
      POST
    • Google OAuth
      POST
    • Login
      POST
    • Logout
      DELETE
    • Change Password
      PATCH
    • Send OTP
      POST
    • Activate
      POST
    • Enable 2FA
      POST
    • Disable 2FA
      DELETE
  • User
    • View
      GET
    • Update
      PATCH
  • API Key
    • View
      GET
    • Reset
      POST
  • Transaction
    • View All
      GET
    • View
      GET
  • Task
    • View All
      GET
    • View
      GET
  • Agent
    • Supported Attachments
      GET
    • Analysis
      POST
  • Stripe
    • Rate
      GET
    • Portal
      POST
    • Buy
      POST
  • Misc
    • Health
    • Version
  1. Auth

Activate

Prod Env
https://backend.clara.crazi.co/api/v1
Prod Env
https://backend.clara.crazi.co/api/v1
POST
https://backend.clara.crazi.co/api/v1
/users/{user_email}/activate
This endpoint lets a user activate their account on Clara. Code can be generated using the Send OTP endpoint.

Request

Authorization
API Key
Add parameter in header
Authorization
Example:
Authorization: ********************
or
Path Params

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠400Bad Request
🟠401Unauthorized
🟠404Resource Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://backend.clara.crazi.co/api/v1/users/hello@crazi.co/activate' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "code": "245522"
}'
Response Response Example
200 - Success
{
  "data": {
    "created_at": "Thu, 27 Nov 2025 00:10:11 GMT",
    "credits": 0.0,
    "email": "hello@crazi.co",
    "first_name": "Vibhanshu",
    "id": "user_5e5ce11ad8ed4a328df03ffd19fa80ec",
    "is_2fa_enabled": false,
    "is_active": true,
    "is_dark_mode": true,
    "last_name": "Rathod",
    "updated_at": "Thu, 27 Nov 2025 00:10:11 GMT"
  },
  "message": "User activated successfully.",
  "status": "success"
}
Modified at 2025-11-27 15:53:18
Previous
Send OTP
Next
Enable 2FA
Built with