Check Voice Otp Status

This endpoint allows you to check the delivery status of multiple Voice OTP request.

Status Request

POST https://app.sleengshort.com/api/voice/status

Body Sample

{
    "msg_id": [
        "55954d18-c399-4c65-b934-ab34de5d2333",
        "226b1685-ed9e-4b49-8db4-57e8dd736715"
    ]
}

Request Body

Name
Type
Description

msg_ids

Array<strings>

A list of msg_id values to check for

Request Status

Status
Description

ANSWERED

Voice OTP has been received by recipient, and answered successfully

BUSY

Recipient number was busy

NOANSWER

Voice OTP was received by recipient, but was not answered

FAILED

Request failed

SUBMITTED

Request submitted successfully to the operator, and awaiting delivery

PENDING

Request is Pending

{
    "status": "ok",
    "description": "Request processed successfully",
    "data": {
        "55954d18-c399-4c65-b934-ab34de5d2333": "PENDING",
        "226b1685-ed9e-4b49-8db4-57e8dd736715": "SUBMITED"
    }
}

Last updated