Endpoints
Get OTP
API Documentation
Endpoints
Get OTP
GET
/
{id}
curl --request GET \
--url https://api.fastotp.co/{id}
{
"otp": {
"id": "9b202659-fee7-46ab-836b-cdd310c4f327",
"identifier": "trojan",
"type": "alpha_numeric",
"status": "pending",
"delivery_methods": [
"email"
],
"delivery_details": {
"email": "[email protected]"
},
"expires_at": "2024-01-19T17:04:06.000000Z",
"created_at": "2024-01-19T00:24:06.000000Z",
"updated_at": "2024-01-19T00:24:06.000000Z"
}
}
Headers
your API key
Path Parameters
Your OTP ID
Response
200
application/json
OK
OTP ID
OTP unique identifier
OTP token type
OTP status
Available options:
pending
, validated
, expired
OTP specified delivery methods
OTP specified delivery methods and details
OTP expiry timestamp
OTP creation timestamp
OTP last update timestamp
curl --request GET \
--url https://api.fastotp.co/{id}
{
"otp": {
"id": "9b202659-fee7-46ab-836b-cdd310c4f327",
"identifier": "trojan",
"type": "alpha_numeric",
"status": "pending",
"delivery_methods": [
"email"
],
"delivery_details": {
"email": "[email protected]"
},
"expires_at": "2024-01-19T17:04:06.000000Z",
"created_at": "2024-01-19T00:24:06.000000Z",
"updated_at": "2024-01-19T00:24:06.000000Z"
}
}