DKBSignDocs

API reference

POSTRequires Bearer token

Create an audit export

/api/logs-audit/exports

Submit /api/logs-audit/exports. 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
range
string7d, 30d (default), 90d, or custom.
e.g. "30d"
date_from
stringRequired when range=custom.
date_to
stringRequired when range=custom.
format
stringcsv, json, or pdf.
e.g. "csv"
sealed
booleanProduce a sealed export.
e.g. false

Responses

StatusMeaning
201Export created
401Missing or invalid Bearer token.

Request

curl
curl -X POST 'https://api.dkbsigns.com/api/logs-audit/exports' \
  -H 'Authorization: Bearer $DKBSIGN_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"range":"30d","date_from":"example","date_to":"example","format":"csv","sealed":false}'

Response 201

json
{
  "id": "exp-1",
  "format": "csv",
  "status": "ready"
}