Webhook Listener

Receiving service for webhook notifications. Incoming JSON data is accepted unchanged and stored in evis for further processing.

Endpoint
POST https://webhooks.wsy.myevis.com/webhook/handle
Authentication
JWT required Every request needs a valid bearer token.

Sending JSON data to the webhook

This service accepts webhook notifications via HTTP POST and stores the unchanged request body in evis for further processing. The actual processing happens asynchronously in a scheduled job; a successful response therefore confirms receipt of the data, not that it has been processed.

Endpoint

POST https://webhooks.wsy.myevis.com/Webhook/Handle

Request requirements

Item Requirement
HTTP method POST (other methods are rejected)
Header Content-Type application/json; charset=utf-8 (recommended)
Header User-Agent Recommended: a meaningful name of the sending system, e.g. ekus-webhook/1.0. The value is stored together with the data and makes it easier to trace.
Request body A JSON object ({ … }) or a JSON array ([ … ]), UTF-8 encoded. The body must start immediately with { or [.
Header Authorization Required: Bearer <TOKEN> – a JSON Web Token (JWT) issued by the operator for your access. The token is configured unchanged as a static header. HTTPS only: A token sent over unencrypted HTTP is rejected.
Access control Access is restricted to allowlisted IP addresses – please have the sender address allowlisted by the operator in advance. In addition, the bearer token is validated (see above).

Bearer-Token

Each access receives its own time-limited token (JWT, signed with HS256) from the operator. The token is sent unchanged in the header Authorization: Bearer <TOKEN>; the sender neither creates nor renews it. The operator issues a new token before it expires. Treat tokens like passwords and do not pass them on in logs or tickets.

The token contains the name of the access (iss), the target instance (aud) and the expiry date (exp). It is valid only for this instance and only while the access is active at the operator. The sending system's clock may deviate by at most two minutes.

Important: Leading spaces, line breaks or a UTF-8 BOM before the first { or [ cause rejection with 400. Forms (application/x-www-form-urlencoded) and empty bodies are not accepted either.

Example request

POST /Webhook/Handle HTTP/1.1
Host: webhooks.wsy.myevis.com
Content-Type: application/json; charset=utf-8
User-Agent: ekus-webhook/1.0
Authorization: Bearer <TOKEN>

{
  "event": "document.created",
  "id": "4711",
  "timestamp": "2026-11-24T10:15:00Z",
  "data": {
    "title": "Example"
  }
}

curl

curl -X POST "https://webhooks.wsy.myevis.com/Webhook/Handle" \
     -H "Content-Type: application/json; charset=utf-8" \
     -H "User-Agent: ekus-webhook/1.0" \
     -H "Authorization: Bearer <TOKEN>" \
     --data-binary '{"event":"document.created","id":"4711"}'

# or from a file:
curl -X POST "https://webhooks.wsy.myevis.com/Webhook/Handle" \
     -H "Content-Type: application/json; charset=utf-8" \
     -H "Authorization: Bearer <TOKEN>" \
     --data-binary @payload.json

PowerShell

$body = @{ event = "document.created"; id = "4711" } | ConvertTo-Json -Compress
Invoke-RestMethod -Method Post -Uri "https://webhooks.wsy.myevis.com/Webhook/Handle" `
    -ContentType "application/json; charset=utf-8" `
    -UserAgent "ekus-webhook/1.0" `
    -Headers @{ Authorization = "Bearer <TOKEN>" } `
    -Body ([System.Text.Encoding]::UTF8.GetBytes($body))

C# (HttpClient)

using var http = new HttpClient { Timeout = TimeSpan.FromSeconds(120) };
http.DefaultRequestHeaders.UserAgent.ParseAdd("ekus-webhook/1.0");
http.DefaultRequestHeaders.Authorization = new("Bearer", "<TOKEN>");

var response = await http.PostAsJsonAsync(
    "https://webhooks.wsy.myevis.com/Webhook/Handle",
    new { @event = "document.created", id = "4711" });

response.EnsureSuccessStatusCode();

Responses

All responses are sent without a response body; only the HTTP status code matters.

Status Meaning Recommended action
200 OK The data was accepted and stored for processing. No further action required.
400 Bad Request The body is not JSON or the data could not be stored on the server side (e.g. backend system temporarily unreachable or overloaded). Check the body (see requirements). If the body is valid, this is a temporary fault: retry the delivery after a while, ideally with increasing intervals (e.g. 1, 5, 15 minutes).
401 Unauthorized Token is missing (only if required), invalid, expired, or the access has been revoked. Also when the token was sent over HTTP instead of HTTPS.The WWW-Authenticate header states the reason. Check the token or request a new one from the operator. Do not retry automatically.
429 Too Many Requests More than 2 requests per second and the wait queue is full. Retry after the number of seconds in the Retry-After header. The data was not stored.
403 Forbidden The sender's IP address is not allowlisted. Ask the operator to allowlist it.
405 Method Not Allowed A method other than POST was used. Send the request as POST.
500 Internal Server Error The service is misconfigured on the server side. Notify the operator; retrying only makes sense once it has been fixed.

Operational notes