docshare
v0.1.0EveryPage tracked PDF links: upload, update and delete PDFs, variant links and webhooks.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
everypage_list_files
List documents, optionally filtered by name
| Parameter | Type | Description |
|---|---|---|
name | string | Name filter. |
everypage_get_file
One document's links, protection and status
| Parameter | Type | Description |
|---|---|---|
file * | string | A file UUID, a short link id, or a share URL (including /embed/ links and ones carrying ?via=). |
everypage_update_file_settings
Change passcode, expiry, downloads, viewer mode, email gate, view limit, page range, slug
| Parameter | Type | Description |
|---|---|---|
file * | string | A file UUID, a short link id, or a share URL. |
settings * | object | The API's FileSettings object, passed through: viewerMode (standard|scroll|flipbook|swipe|magazine), password (empty string clears), allowDownload, requireEmail, notifyOnView, deleteAt (date-time), ne… |
everypage_delete_file
Trash a document, or purge it permanently
| Parameter | Type | Description |
|---|---|---|
file * | string | A file UUID, a short link id, or a share URL. |
purge | boolean | Default trashes; purge: true is the irreversible delete. |
everypage_replace_content
Replace the PDF stored behind a live link with new content (from a local path, or by fetching any user-supplied https URL), keeping the link and its history · Pro
| Parameter | Type | Description |
|---|---|---|
file * | string | A file UUID, a short link id, or a share URL. |
source * | string | A local file path, or any https URL the server fetches itself (without sending your EveryPage key); same lanes and %PDF- magic check as everypage_share_pdf. |
everypage_get_readership
Who read it, how far they got, where they dropped off
| Parameter | Type | Description |
|---|---|---|
file * | string | A file UUID, a short link id, or a share URL. |
everypage_list_events
Recent reads, downloads or captured leads, with a polling cursor
| Parameter | Type | Description |
|---|---|---|
file | string | Only events for this file. |
limit | integer | Maximum events to return. |
since | string | number | The per-stream cursor from a previous call; cursors are valid only for the same type. |
type | string | Event stream. Defaults to view. |
everypage_create_variants
Create one tracked link per recipient on your EveryPage account, so reads are attributed by name · Pro
| Parameter | Type | Description |
|---|---|---|
file * | string | A file UUID, a short link id, or a share URL. |
labels * | array | One variant is created per label, in order. |
everypage_list_variants
Those links and their status
| Parameter | Type | Description |
|---|---|---|
file * | string | A file UUID, a short link id, or a share URL. |
everypage_update_variant
Rename, revoke or restore one recipient's link · Pro
| Parameter | Type | Description |
|---|---|---|
file * | string | A file UUID, a short link id, or a share URL. |
variant * | string | The variant UUID. |
label | string | New label; empty string clears. |
overrides | object | REPLACES the stored override set as a whole. |
revoked | boolean | Revoke or restore the link. |
everypage_delete_variant
Delete it, or GDPR-redact the recipient's name · Pro
| Parameter | Type | Description |
|---|---|---|
file * | string | A file UUID, a short link id, or a share URL. |
variant * | string | The variant UUID. |
redact | boolean | GDPR-redact the recipient's name instead of a plain delete. |
everypage_list_webhooks
Webhook endpoints and their delivery health
everypage_manage_webhook
Create, test or delete a webhook endpoint
| Parameter | Type | Description |
|---|---|---|
action * | string | create, test or delete. |
events | array | Required for create, e.g. file.opened, file.viewed, gate.completed. |
url | string | Required for create; a plain HTTPS URL. |
webhook | string | The webhook UUID; required for test and delete. |
everypage_account
The connected account, its plan, and what that plan allows