EaserixDocs
DevelopersAPI referenceSignDocuments

List documents

Documents the caller can read: their own (active-org-scoped; legacy rows without org_id stay visible) plus any shared with the organization by a teammate. status/q/needsMe filter the page and `total`; counts/toSignCount/waitingCount/hasShared always describe the scope-only set, unaffected by status/q/needsMe/sort/limit/offset — same convention as Templates' `categories`, so switching tabs or typing a search never makes the other tabs' counts move. The result is paged only when limit or offset is sent; without either, every matching document is returned (as before this endpoint was paginated), up to 1000, and limit reports how many came back — total > that count means the list was cut off.

View as Markdown
GET
/v1/documents
AuthorizationBearer <token>

In: header

Query Parameters

status?string

Value in

  • "draft"
  • "pending"
  • "completed"
  • "declined"
  • "cancelled"
  • "expired"
  • "awaiting_notarization"
scope?string

all (default) — everything readable · mine — only the caller's own · shared — only teammates' org-shared documents (excludes own).

Value in

  • "all"
  • "mine"
  • "shared"
q?string

Case-insensitive substring match against the document name or a recipient's name/email. "%" and "_" match literally.

sort?string

activity (default) — updated_at descending · created — created_at descending · name — alphabetical · status — in-flight work first, dead envelopes last, ties broken by activity.

Value in

  • "activity"
  • "created"
  • "name"
  • "status"
needsMe?boolean

true narrows to pending documents where the caller is a signer who hasn't signed or declined yet (not turn-order aware — just "am I owed a signature"). Matches nothing for a token with no email claim.

limit?integer

Page size, default 10, capped at 100. Omit both limit and offset to get every matching document unpaged (up to 1000).

offset?integer

Page start. Default 0. Sending it alone pages at the default size.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/documents"
{  "documents": [    {      "id": "string",      "name": "string",      "url": "string",      "status": "string",      "created": "2019-08-24T14:15:22Z",      "modified": "2019-08-24T14:15:22Z",      "size": 0,      "pages": 0,      "templateId": "string",      "hasFile": true,      "hasFinalFile": true,      "files": [        {          "id": "string",          "name": "string",          "position": 0,          "size": 0,          "pages": 0,          "created": "2019-08-24T14:15:22Z",          "status": "ready",          "conversionError": "string"        }      ],      "signingMode": "string",      "message": "string",      "sentAt": "2019-08-24T14:15:22Z",      "completedAt": "2019-08-24T14:15:22Z",      "voidedAt": "2019-08-24T14:15:22Z",      "voidReason": "string",      "declinedAt": "2019-08-24T14:15:22Z",      "expiresAt": "2019-08-24T14:15:22Z",      "autoRemindDays": 0,      "lastRemindedAt": "2019-08-24T14:15:22Z",      "legalHold": true,      "scheduledPurgeAt": "2019-08-24T14:15:22Z",      "visibility": "string",      "ownerId": "string",      "requiresNotarization": true,      "notaryState": "string",      "recipients": [        {          "id": "string",          "name": "string",          "email": "string",          "role": "string",          "status": "string",          "orderIndex": 0,          "signedAt": "2019-08-24T14:15:22Z",          "viewedAt": "2019-08-24T14:15:22Z",          "declinedAt": "2019-08-24T14:15:22Z",          "declineReason": "string",          "hasAccessCode": true,          "verificationMethod": "none",          "signature": "string",          "isGroup": true,          "groupLabel": "string",          "signedByName": "string",          "signedByEmail": "string",          "members": [            {              "id": "string",              "name": "string",              "email": "string",              "viewedAt": "2019-08-24T14:15:22Z",              "declinedAt": "2019-08-24T14:15:22Z"            }          ],          "reassignedFromName": "string",          "reassignedFromEmail": "string",          "reassignReason": "string",          "reassignedAt": "2019-08-24T14:15:22Z"        }      ],      "fields": [        {          "id": "string",          "type": "signature",          "x": 0,          "y": 0,          "width": 0,          "height": 0,          "page": 0,          "required": true,          "label": "string",          "value": "string",          "recipientId": "string",          "fileId": "string",          "config": {}        }      ]    }  ],  "total": 0,  "limit": 0,  "offset": 0,  "counts": {    "property1": 0,    "property2": 0  },  "toSignCount": 0,  "waitingCount": 0,  "hasShared": true}