Link Search Menu Expand Document

Using JVerify’s verify endpoint

Table of contents

  1. HTTP Signature
  2. cURL sample
  3. JavaScript sample
  4. Status Codes

The second step of the verification process, send a POST request to with your API key, the token from the start endpoint, and the pin from your user as raw json data:


HTTP Signature

POST /verify HTTP/1.1
Host: localhost
Content-Type: application/json
Content-Length: 109


cURL sample

curl --location --request POST '' \
--header 'Content-Type: application/json' \
--data-raw '{

JavaScript sample

var request = require('request');
var options = {
  'method': 'POST',
  'url': '',
  'headers': {
    'Content-Type': 'application/json'
  body: JSON.stringify({
request(options, function (error, response) {
  if (error) throw new Error(error);

Status Codes

JVerify will return one of many status codes. See what they mean here.

Code Official Name JVerify Meaning
200 OK JVerify properly received and processed the hash and pin. A 200 response code does not mean the user submitted the correct pin.
401 Unauthorized The token is incorrect. If this occurs, double-check your key and if it appears correct, request a new one from the dashboard. If that fails, contact us.
406 Not Acceptable The token you submitted equals T3h5N3RyUPNT4NkQ73cuUtdh_cpNsXHG… This token is the one used in our documentation and cannot be used for real requests. Request your token (key) from the dashboard.
422 Unprocessable Entity Your request either had missing body content or the body content was empty.
500 Internal Server Error Something has gone wrong on our end. Contact us and we will get it resolved.

Copyright © 2021 JVerify.