• Numeric - This is a type of OTP token that consists of just numeric value or just numbers
    • Example: 101666
  • Alpha-numeric - This is a type of OTP token that consists of both numeric and alphabetical values
    • Example: ay6l8d
  • Alpha - This is a type of OTP token that consists of only alphabetical values
    • Example: ay6l8d
curl --request POST \
  --url https://api.fastotp.co/generate \
  --header 'x-api-key: fastotp_xxx' \
  --header 'Content-Type: application/json' \
  --data '{
	"type": "numeric"
}'

The OTP generated will only contain numeric values

To see this in action, make a POST request to the /generate endpoint. You can read about all the parameters you can send in the API Reference.