DKBSignDocs

API reference

GETPublic

Download a signed document

/api/v4/documents/{uuid}/download

No Bearer. Use the signed URL pair (expires, sig) returned after signing.

Path parameters

FieldTypeDescription
uuid
Required
stringPath parameter uuid.

Query parameters

FieldTypeDescription
expires
integerUnix expiry from the signed URL.
sig
stringSignature from the signed URL.
download
booleanForce download (default true).
e.g. true

Request body

This endpoint does not accept a request body.

Responses

StatusMeaning
200Signed PDF
401Missing or invalid Bearer token.

Request

curl
curl -X GET 'https://api.dkbsigns.com/api/v4/documents/550e8400-e29b-41d4-a716-446655440000/download?expires=1&sig=sig&download=true'

Response 200

json
{
  "content_type": "application/pdf",
  "note": "The HTTP body is the PDF bytes, not JSON."
}