Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.iohttps://kyc-api.surepass.io| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token authentication using JWT |
| Content-Type | Yes | application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| id_number | String | Yes | Mobile number to which the OTP will be sent |
| skip_otp | Boolean | No | Skip otp generation |
{
"id_number": "9876543210"
}| Parameter | Type | Description |
|---|---|---|
| client_id | String | Unique identifier for the client making the request |
| operator | String | Mobile network carrier |
| otp_sent | Boolean | Indicates whether the OTP was successfully sent |
| if_number | Boolean | Indicates whether the provided number exists/is valid |
{
"client_id": "client_12345",
"operator": "jio",
"otp_sent": true,
"if_number": true
}{
"status_code": 429,
"error": "Too Many Requests",
"message": "Please wait 60 seconds before requesting another OTP for this mobile number"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/telecom/generate-otp' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "{{phone_number}}"
}'{
"client_id": "client_12345",
"operator": "jio",
"otp_sent": true,
"if_number": true
}