This API is used to retrieve information on OTP logs.

Examples

Here’s an example cURL request for the OTP History Info API:

curl --location 'https://external-api.xtremepush.com/api/external/info/otp-history' \
--header 'Content-Type: application/json' \
--data '{
    "apptoken": "YOUR_APPTOKEN",
    "otp_id": OPT_ID,
    "select": [
        "otp_id", 
        "integration_id", 
        "profile_id", 
        "mobile_number"
    ]
}'

Example Use Case
Retrieve information about a specific OTP log to troubleshoot issues such as delivery status or verification problems. For example, if a user reports not receiving an OTP, you can use their otp_id to fetch details like the delivery timestamp, associated mobile number, and integration ID. Replace "YOUR_APPTOKEN" and "OPT_ID" with actual values from your application.

Language
Click Try It! to start a request and see the response here!