Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.19 KB

README.md

File metadata and controls

49 lines (38 loc) · 1.19 KB

WhatsApp OTP API Empower your applications with seamless user verification using VerifyWay's WhatsApp OTP API, ensuring a reliable and convenient authentication process.

Getting Started with VerifyWay API

Follow these steps to get started with VerifyWay API:

  1. Register: Register here
  2. Top-up: Top-up your account
  3. Get API Key: Retrieve your API Key
  4. Done!

Example API Request

Use the following cURL command to send a request to the VerifyWay API:

curl -X POST https://api.verifyway.com/api/v1/ \
-H 'Authorization: Bearer API_KEY' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"recipient":"31612345678",
"type":"otp",
"code":"123456"
}'

API Response Formats

When making requests to the VerifyWay API, the responses are formatted as follows:

Success Response

{
    "status": "success",
    "message_id": "RANDOM_ID",
    "recipient": "+31612345678",
    "code": "123456"
}

Failure Response

{
    "error": "detail of the error" 
}