EaserixDocs
DevelopersAPI referenceSignPublic links

Attach (or replace) a draft's PDF

Draft-only — once published, the link's file is what's already live for any visitor holding the URL, so it can't be swapped out from under them. PDF, Word, Excel, CSV, PowerPoint, and image uploads are all accepted; anything that isn't already a PDF is converted (EAS-113). The "file" field may repeat up to 10 times in one request — each part is resolved to a PDF and the results are merged, in submission order, into the single PDF every visitor signs. Each file may be up to 25 MB, the files together up to 50 MB, and the merged PDF up to 25 MB.

View as Markdown
POST
/v1/public-signing/{id}/file
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/public-signing/string/file" \  -F file="[    \"string\"  ]"
{  "publicSigningLink": {    "id": "string",    "name": "string",    "status": "draft",    "hasFile": true,    "pages": 0,    "recipients": [      {        "name": "string",        "role": "string",        "orderIndex": 0,        "isGroup": true,        "groupLabel": "string"      }    ],    "fields": [      {        "type": "signature",        "x": 0,        "y": 0,        "width": 0,        "height": 0,        "page": 0,        "required": true,        "label": "string",        "recipientIndex": 0,        "key": "string",        "config": {}      }    ],    "visitorSlotIndex": 0,    "expiresAt": "2019-08-24T14:15:22Z",    "maxSubmissions": 0,    "submissionCount": 0,    "oneSubmissionPerEmail": true,    "publishedAt": "2019-08-24T14:15:22Z",    "pausedAt": "2019-08-24T14:15:22Z",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "url": "string"  }}