Perform a verification

You can send a Two Factor Authentication very easily just by specifying the recipient, the type of the message and the method that the verification will be sent.

The message type that is currently supported is "code" which generates a numeric only code with the specified number of digits. The supported methods are "sms" and "voice", so the specified recipient must be a valid mobile or landline (for voice) number.

All optional parameters that are required by 2Step are taken from your application settings which can be configured through the Routee web console.

This is a paid service. For pricing check here

RESPONSE PARAMETERS

KEY

DESCRIPTION

trackingId

The tracking id used to reference this specific verification.

status

The status of the verification.

updatedAt

The last time this verification was updated.

maxRetries

The number of retries only, the first try is not included.

expiresAt

When will the verification expire.

timesTried

How many tries were made by the user.

ERROR CODES

STATUS

CODE

DESCRIPTION

404

404001001

Account not found.

400

400001009

Insufficient Balance.

404

404010002

Application not found.

400

400011001

Invalid message template.

400

400005000

Sms contains invalid data.

Language