This guide will get your from zero to production ready with a few step
WhatsAuth provides a simple and reliable way to validate mobile phones numbers and authorize several kinds of transactions such as OTP, 2-Factor Authentication, Delivery proof, etc.
We create a unique disposable code for each transaction that you require to validate by a mobile phone number using WhatsApp Application.
The code is validated or disposed once its purpose is fulfilled or expired while keeping you or your platform informed of any changes in its status allowing you to react as your convenience.
In order to implement WhatsAuth services in your platform you require:
The following steps represent an typical usage of the service to login with whatsApp
To get a verification code from WhatAuth API you need to make an HTTPS request providing the API key for authorization and some parameters for customization.
The following cURL command you can try from your terminal
You can also specify default values for each parameter at the application level and skip those in the request. If you set a parameter in your request it will override the one set as default.
If the request is properly formed and authenticated you'll receive a response with a JSON like this:
In order to receive updated status of the verification process you will need to implement the webhook that is a URL under HTTPS protocol and POST method. There you will receive the following information in JSON format:
From here you can obtain the data required to follow up your business process.
The webhook request expects to have a response 200 or 204 status.
No, we provide you with a global WhatsAuth number to validate mobiles phones, package delivery or transaction authorization
Sure!, we can use any Whatsapp or Twilio business number.