Validate OTP

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Use this API to authenticate a customer by validating the OTP sent through SMS or email.
After a successful validation, you can proceed with actions such as redeeming points or coupons or registering the customer.

In the response,

  • "entity": true indicates that OTP validation was successful.
  • "entity": false indicates that validation failed.

The API also supports rate limiting to prevent excessive validation attempts.

Configuration KeyDescriptionDefault Value
CONF_OTP_VALIDATE_RATE_LIMIT_ENABLEDEnables rate limiting for the API.false
CONF_OTP_VALIDATE_RATE_LIMIT_MINUTEDefines the time window (in minutes) during which rate limiting applies.15
CONF_OTP_VALIDATE_RATE_LIMIT_COUNTDefines the maximum number of API requests allowed.5

Example: With the default configuration, a user can call the OTP validation API up to 5 times within 15 minutes for the same entity.

For organisations created after mid-October 2025, rate limiting is enabled by default with the default configuration values.
To update the default values and enable the configuration for existing organisations, create a JIRA ticket with the Capillary Product Support team.

Body Params
string
enum
required
Allowed:
string
required
string
required
string
enum
required
Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json