Tuned Global Services aAPIs

Sections

Generate OTP for a user

Header Parameters

StoreIdstring Required

API Key provided by Tuned Global for accessing the service.

Query Parameters

msisdnstring Required

The user's mobile number. Used for SMS OTP delivery. Optional if email is provided.

smsHashstring

Hash value for SMS verification, if required by the provider.

languagestring Required

Language code for OTP message localization.

otpproviderstring Required

The OTP provider to use for generating and sending the OTP.

Enum values:
NoneGBillingTwilioFirebaseEmailAwsSnsInfobipEtLocalSonsy
emailstring Required

The user's email address. Used for email OTP delivery. Optional if msisdn is provided.

Response

200
Object

OK

Response Attributes

errorstring
error_descriptionstring
400
Object

Bad Request

401
Object

Unauthorized

403
Object

Forbidden

404
Object

Not Found

Was this section helpful?

GET

/

Select
1

Response

Status Codes

200

OTP generated and sent successfully.

400

Invalid parameters or configuration.

401

Authentication failure.

403

The API key doesn't have permissions to perform the request.

404

The requested resource does not exist.

Error Codes

600

telco settings not found for group/country.

601

Msisdn or email not found in request.

601

Msisdn must not exceed 15 characters.

601

Failure to properly authenticate yourself in the request.

601

Email not supplied.

601

OTP Provider not supported.

603

Msisdn is not valid.

607

Error generating OTP in db.

Was this section helpful?
View as Markdown

Ask an AI

Open in ChatGPTOpen in ClaudeOpen in Perplexity

Code with AI

Open in Copilot