create_doc_link
Publish a PDF as a tracked doc.page Doc Link and get back a shareable URL. The link belongs to the API key's account and also appears in its doc.page library. Requires an API key. Free plan: up to 3 active links; custom vanity slugs are premium-only. Optional expiry and open-notification toggle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | http(s) URL of the PDF to publish (max 25 MB). | |
| name | No | Display name in the library. Defaults to the filename. | |
| slug | No | Custom vanity slug (premium plans only). Lowercase letters, digits and hyphens. | |
| expiresAt | No | ISO 8601 date-time after which the link stops working. Omit for no expiry. | |
| notifyOnOpen | No | Email the account owner on the first open. Default true. |