EaserixDocs
DevelopersAPI referenceSignPublic links

Publish a draft as a live public self-serve signing link

EAS-117. Requires a file and at least one recipient slot. Every non-visitor recipient slot must be given a real email now; it can't be filled in later. The plaintext token is returned only in this response's "url" field — never recoverable from a later read.

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

In: header

Path Parameters

id*string

Request Body

application/json

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

curl -X POST "https://example.com/v1/public-signing/string/publish" \  -H "Content-Type: application/json" \  -d '{    "visitorSlotIndex": 0  }'
{  "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"  }}