Verification API Documentation

The API has been deprecated. Looking to build a one-time phone verification? Use our Number Verification API instead for a more flexible solution

HTTP API Request Authentication

API endpoint

Verigator API requests are made to following server:


Authentication is done by setting HTTP header "X-Service-Auth" to your Messente API username and password concatenated with semicolon like this:

X-Service-Auth: messente-api-username:messente-api-password

Request and response body

All request and response bodys for the API calls are JSON encoded strings according to the specification.

Response HTTP status codes

API call responses have status codes according to REST specifications.
Always set Accept and Content-Type headers to application/json as well.
Only 2XX response codes indicate successful response.

Example request

$ curl -X POST \
   --header 'Content-Type: application/json' \
   --header 'Accept: application/json' \
   --header 'X-Service-Auth: uXXwRLJOaCifV:oA5rVSvslkcoXK' \
   --data '{"method": "totp"}' \