Attempt Verification
Endpoint
[POST] https://usenotifier.com/api/verify/{uuid}Example Request
$response = Http::withToken('YOUR_API_KEY')
->post('https://usenotifier.com/api/verify/{uuid}', [
"code" => "ABC1"
]);$client = new Client();
$headers = [
'Accept' => 'application/json',
'Authorization' => 'Bearer YOUR_API_KEY',
'Content-Type' => 'application/x-www-form-urlencoded'
];
$options = [
'form_params' => [
'code' => 'ABC1'
]];
$request = new Request('POST', 'https://usenotifier.com/api/verify/{uuid}', $headers);
$res = $client->sendAsync($request, $options)->wait();
echo $res->getBody();curl --location --request POST 'https://usenotifier.com/api/verify/{uuid}'
--header 'Accept: application/json'
--header 'Authorization: Bearer YOUR_API_KEY'
--header 'Content-Type: application/x-www-form-urlencoded'
--data-urlencode 'code=ABC1'var client = new RestClient("https://usenotifier.com/api/verify/{uuid}");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Accept", "application/json");
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddParameter("code", "ABC1");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);code: required
The code that the user has entered for verification. This will be the code that they were sent via SMS.
Example Response
You will get back the UUID of the verification and the current status. At this point it will be PASSED or FAILED
{
"data": [
{
"uuid": "5f0beecd-ff5f-42d1-bfcd-19c563d67f97",
"status": "PASSED"
}
]
}Last updated
Was this helpful?