Check message_id Status
Delivery report for a sent OTP, plus whether the code is still active.
Delivery receipts arrive a few seconds after the send, so the first call after /generate_otp normally reports a pending state rather than a carrier status. Poll every few seconds, and treat any DLR value beginning "Pending:" as "ask again shortly". If you would rather not poll at all, register a delivery webhook in the dashboard and we will POST each status change to you instead.
Data is retained for 24 hours after an OTP expires.
post/check_otp_status
Request
- Base URL: https://api.myotp.app
- URL: https://api.myotp.app/check_otp_status
- Auth: none declared. Required headers: X-API-Key
Headers
X-API-Keystring required
Request body
Response
The delivery report, or an explanation of why one is not available. Note that an unknown message_id is also a 200, carrying "message" instead of "DLR".
Example response
{
"DLR": "DELIVRD"
}Changes
No recorded changes to this operation across all 1 revision of this API.