Crego APIs
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
  1. Authz
  • Back to home
  • Omni
  • Installation
  • Document APIs
  • Contact APIs
  • Audit APIs
  • Tasks
    • Schedules
      • List all scheduled tasks
      • Get scheduled task details
      • Update scheduled task
      • Update scheduled task (full update)
    • Get task details
      GET
    • Update task
      PATCH
    • Update task (full update)
      PUT
  • Core APIs
    • Get Enums
      GET
  • Review
  • Authz
    • Exchange Token
      POST
    • Send OTP
      POST
    • Verify OTP
      POST
    • well know
      GET
    • Login User
      POST
  • Workflow
    • Runner
      • Create Runner
      • Retrieve Runner
      • Executer
    • Flow
      • Create Flow
      • List Flow
  1. Authz

Verify OTP

Developing
preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
POST
/auth/otp/verify/
Last modified:2025-08-21 09:32:55

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
    "phone_number":7880340889,
    "otp":611890
}

Request Code 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/auth/otp/verify/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "phone_number":7880340889,
    "otp":611890
}'

Responses

🟠401Unauthorized
application/json
Body

Example
{
    "error": "string"
}
Modified at 2025-08-21 09:32:55
Previous
Send OTP
Next
well know
Built with