D7 Verifier is an OTP verification service provided by Direct7Networks. D7 provides reliable and cost-effective SMS services to businesses across all industries and aims to connect all countries and territories via direct connections.
*** For FREE SMS credits Signup here
*** Click here for detailed documentation.
This document is targeted at software designers/programmers wishing to integrate D7 Verify for verification of phone numbers from the applications.
To start with D7 Verify, the following requirements must be met:
Customized message content
Can specify a timeout for each verification
Unlimited retry / resend option
D7 Verify service use 2FA API token to authenticate users and you can easily get it from your verification-api on d7networks.com. The Authorization field must start with “Token” followed by the 2FA API token
Example::
Token 095asdfs15df54sad5fasdfad4f51asdfsdf9asd1fas1df
Parameter | Description | Mandatory | Example |
---|---|---|---|
mobile | Destination number which needs to be verified |
YES | 971562316353 |
sender_id | Source address, Default value is "RVSMS |
YES | RVSMS |
message | OTP Message content, always include {code} placeholder in message text. |
NO | D7SMS OTP verification code is {code} |
expiry | OTP Expiry time |
NO | 900 |
{
"otp_id":"49dd75a1-3753-4f78-8cae-0ac52aa669ac"
"status":"open"
"expiry":900
}
If successful, response header HTTP status code will be 201 and the Response Body will contain otp_id,status and timeout.
Parameter | Description | Mandatory | Example |
---|---|---|---|
otp_id | OTP id which was recieved when otp is generated |
YES | 49dd75a1-3753-4f78-8cae-0ac52aa669ac |
{
"otp_id":"49dd75a1-3753-4f78-8cae-0ac52aa669ac"
"status":"open"
"expiry":900
"resend_count":1
}
If successful, response header HTTP status code will be 201 and and the Response Body will contain otp_id,status,expiry,resend_count.
Parameter | Description | Mandatory | Example |
---|---|---|---|
otp_id | OTP id which was recieved when otp is generated |
YES | eeefab33-ba6b-41b5-88b8-258ef56f2fc4 |
otp_code | OTP code received on Mobile number |
YES | eeefab33-ba6b-41b5-88b8-258ef56f2fc4 |
{
"status":"success"
}
For successful validation 200 OK response with status: success will be returned.
For a failure 200 OK with status: failed will be returned.
For all the support requests and general queries you can contact support@d7networks.com
or visit contact-us
Also, you can avail the live chat available our website d7networks.com or you can text with
us via WhatsApp at +971566816452