Authentication - API Documentation

All requests must go through our API server: https://api.verosent.com. The API server requires for every request, two header fields X-Verosent-Token and Accept to be set. X-Verosent-Token contains a unique token which can be generated in the customer area (click). That token is used to authenticate as a customer at the API server. The Accept field must contain the value application/json. That is the only response format which the API server supports.

A simple API call could look like this:

Request:

curl -X GET -H 'X-Verosent-Token: HWsYIoW0YMwJdGaWNEsbudnHoUQuUlRxpB9L82Sc3DixhJxw7wW36j/nzCmajb46TBQ11RIZh2+X98+KpnpF+w==' -H 'Accept: application/json' https://api.verosent.com/v1
Response:

1
2
3
{
  "message": "Verosent API Server v1"
}