DKBSignDocs

API reference

POSTRequires Bearer token

Inspect a PDF before signing

/api/v4/sign/info

Returns page count and page dimensions so you can place marks. Send file or file_url (multipart, max 10 MB).

Path parameters

This endpoint has no path parameters.

Query parameters

This endpoint has no query parameters.

Request body

Send as multipart/form-data.

FieldTypeDescription
file
stringPDF upload (max 10 MB).
file_url
stringRemote PDF URL (alternative to file).

Responses

StatusMeaning
200PDF info
401Missing or invalid Bearer token.

Request

curl
curl -X POST 'https://api.dkbsigns.com/api/v4/sign/info' \
  -H 'Authorization: Bearer $DKBSIGN_TOKEN' \
  -H 'Accept: application/json' \
  -F 'file=file' \
  -F 'file_url=file_url'

Response 200

json
{
  "page_count": 3,
  "width_mm": 210,
  "height_mm": 297
}