DKBSignDocs

API reference

GETPublic

Preview a public envelope document

/api/v4/public/documents/{doc_uuid}/preview

PDF stream. The signer OTP must be verified and the document must belong to that envelope.

Path parameters

FieldTypeDescription
doc_uuid
Required
stringPath parameter doc_uuid.

Query parameters

FieldTypeDescription
signer
Required
stringSigner uuid (required).
e.g. "550e8400-e29b-41d4-a716-446655440000"
raw
integerSet to 1 for the original bytes (encrypted PDFs stay encrypted).
e.g. 1

Request body

This endpoint does not accept a request body.

Responses

StatusMeaning
200PDF preview
401Missing or invalid Bearer token.

Request

curl
curl -X GET 'https://api.dkbsigns.com/api/v4/public/documents/550e8400-e29b-41d4-a716-446655440000/preview?signer=550e8400-e29b-41d4-a716-446655440000&raw=1'

Response 200

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