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

Send OTP

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}/otp/{otp_type}
This endpoint lets a user send an OTP (code) for verification on Clara.
You can generate three types of OTP (code):
CHANGE_PASSWORD
TWO_FACTOR_AUTH
ACTIVATION

Request

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

Responses

🟢201Success
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/otp/CHANGE_PASSWORD' \
--header 'Authorization: <api-key>'
Response Response Example
201 - Success
{
  "data": null,
  "message": "OTP sent successfully.",
  "status": "success"
}
Modified at 2025-11-27 01:48:25
Previous
Change Password
Next
Activate
Built with