DKBSignDocs

API reference

POSTRequires Bearer token

Record an audit event

/api/logs-audit/events

Submit `/api/logs-audit/events`. Authenticated routes need `Authorization: Bearer {token}` from `POST /api/v1/login`.

Path parameters

This endpoint has no path parameters.

Query parameters

This endpoint has no query parameters.

Request body

FieldTypeDescription
action
Required
stringAction name.
e.g. "document.downloaded"
message
stringHuman-readable description.
metadata
objectOptional extra context.

Responses

StatusMeaning
500See the example response.

Request

curl
curl -X POST 'https://api.dkbsigns.com/api/logs-audit/events' \
  -H 'Authorization: Bearer $DKBSIGN_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"action":"document.downloaded"}'

Response 200

json
{
  "status": "success",
  "message": "Upstream response is forwarded unchanged."
}