Documentation Index
Fetch the complete documentation index at: https://docs.dokstamp.com/llms.txt
Use this file to discover all available pages before exploring further.
Files
Files are PDF documents uploaded to DokStamp before being attached to certificates or documents. Each file can only be used by one certificate — once attached, it is marked as used and cannot be reused.The file object
| Field | Type | Description |
|---|---|---|
uuid | string | Unique identifier — use as file_uuid when creating certificates |
original_name | string | Original filename |
mime_type | string | MIME type (e.g., application/pdf) |
extension | string | File extension |
size | integer | File size in bytes |
used_at | datetime|null | Null = available. Non-null = already attached to a certificate. |
file | string | Direct download URL |
Upload files
multipart/form-data. You can upload multiple files in a single request.
| Parameter | Type | Required | Description |
|---|---|---|---|
files[] | file | Yes | One or more PDF files |
201:
List files
Get file metadata
Download a file
This endpoint is public — no
Authorization header required. Share this URL directly with signers, students, or employers.Update file metadata
Delete a file
Deduplication
The API computes ahash for each uploaded file. If you upload the same file content twice, the second upload returns the existing file record instead of creating a duplicate. This prevents storage bloat in batch upload workflows.