Verification API Documentation

Service Setup

When starting with Verification API you will first need to register your Service to get a unique ServiceID that will be later used to add and verify your users.

You may have multiple separate web services using the same Messente account, therefore you can create multiple Services and receive multiple ServiceID's in the process.

Request to register a service will be made to the following URL:
Request headers
HTTP headerDescriptionRequired
X-Service-AuthRefer to authentication section on how to authenticate your API calls with Messente API username and passwordYes
Request body (JSON encoded)
fqdnFully Qualified Domain Name
Example: or
nameName of your service, that will appear as the issuer in the Verigator app.
Example: CoffeeShop
Response body (JSON encoded)
idNewly created ServiceID. You will need to store this in your Verigator API configuration.
Example: 81213bfd-b690-499e-b9d2-8754cb1550e8
nameName of the Service as provided in request body.
Example: CoffeeShop
ctimeDatetime of the created service in RFC 3339 specification.
Example: 2017-07-06T13:12:03.141Z
HTTP Response Codes
STATUS codeValueDescription
201CreatedService successfully created
401Authentication required
Missing authentication headers (X-Service-Auth)
403ForbiddenForbidden request
404Not found
409ConflictService already exists
422Invalid dataInvlalid request body - check the format and if it was correctly JSON encoded


from messente.verigator.api import Api

# initialize api
api = Api("username", "password")

# create your service
service ="", "service_name")
// Initialize the Verigator API with your Messente API credentials
Verigator verigator = new Verigator(API_USERNAME, API_PASSWORD);

// Create a Service resource for your service, you do this only once!
Service service = verigator.createService("Some example service", "");

// Store the returned Service id in your server's configuration files
String serviceId = service.getServiceId();