Tuned Global Services aAPIs

Sections

Validate an OTP

Header Parameters

StoreIdstring Required

API Key provided by Tuned Global for accessing the service.

Query Parameters

msisdnstring Required

The mobile phone number where the OTP was sent to. Optional if email is provided.

otpstring Required

The one-time password provided by the user.

emailstring Required

The email where the OTP was sent to. Optional if msisdn is provided.

Response

200
Object

OK

Response Attributes

errorstring
error_descriptionstring
400
Object

Bad Request

401
Object
403
Object

Forbidden

404
Object

Not Found

409
Object
500
Object

Server Error

Was this section helpful?

GET

/

Select
1

Response

Status Codes

200

OK

Success - OTP validated successfully.

400

Bad request

The request was unacceptable, often due to missing a required parameter.

401

Unauthorized

The request was unacceptable, often due to missing a required parameter.

402

Request Failed

The parameters were valid but the request failed.

403

Forbidden

The API key doesnt have permissions to perform the request.

404

Not Found

The requested resource does not exist.

409

Conflict

OTP is validated successfully and user already exists.

Error Codes

400

otp validation failed

401

maximum attempts reached.

601

msisdn, email or otp not supplied.

603

msisdn not valid.

610

otp validation successful and user already exists

Was this section helpful?
View as Markdown

Ask an AI

Open in ChatGPTOpen in ClaudeOpen in Perplexity

Code with AI

Open in Copilot