things were made to simplify
The API requests are authenticated using a Bearer token in the Authorization Header. You can get the token from an application in your account (learn more).
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.
The following examples illustrate which are the expression of the parameters
If the request is properly formed and authenticated you'll receive a response with a JSON like this:
In order to receive the updated status of the verification process you will need to implement the webhook which 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, otherwise, it will mark treat the validation as a failure.