Crego APIs
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
  1. APIs Doc
  • Back to home
  • Sample Flow
  • Send Otp
    POST
  • Submit Otp
    POST
  • Create Runner
    POST
  • PAN or GST
    POST
  • Business Info
    POST
  • Shareholders
    POST
  • Business Extraa Info
    POST
  • Business Assest Detail
    POST
  • Applicant List
    GET
  • Submit Application
    POST
  • Set Current Applicant
    POST
  • Document upload
    POST
  • Get Document
    GET
  • Applicant Pan , Aadhaar and Mobile
    POST
  • Applicant Extraa Info
    POST
  • Applicant Bank Details
    POST
  • Signing Form
    POST
  1. APIs Doc

Send Otp

Developing
preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
POST
/v1/identity/auth/rego/otp/send/
Last modified:2025-03-05 13:33:03

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
mode
enum<string> 
required
Allowed values:
smsemail
username
string 
required
Example
{"mode": "sms", "username": ""}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://preprod.api.crego.io/v1/identity/auth/rego/otp/send/' \
--header 'Content-Type: application/json' \
--data-raw '{"mode": "sms", "username": ""}'

Responses

🟢200Success
application/json
Body
status
boolean 
required
message
object 
required
status
boolean 
required
message_id
string 
required
status_code
integer 
required
Example
{
    "status": true,
    "message": {
        "status": true,
        "message_id": "e7e742a4-1cac-4d8e-814d-63b870e24c47:1",
        "status_code": 202
    }
}
Next
Submit Otp
Built with