List what needs you
The HumaDocs home page's Actions required: documents waiting for the
caller, newest activity first. Each item has a reason:
reason | The document |
|---|---|
your_turn | Is out for signing and it is the caller's turn, matched by the caller's account email. signerId is the caller's signer |
declined, expired, finalizeFailed | Was sent by the caller and needs the sender to look at it. It stays listed until it is deleted |
With an API key. A service account has no email, so your_turn never
appears. The other three list documents the service account itself sent.
At most 100 of each kind. A document that is both is listed once, as
your_turn.
Permission: signing:read @ workspace/{workspaceId}
Authorization
ServiceAccountKey A service account API key, sent whole as a bearer token:
hsk_<40 hex>.hss_<64 hex>.
In: header
Query Parameters
The workspace the template or document belongs to. Send it in the query string on every call, including the PDF upload. IDs come from List workspaces.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/signing/requests/actions?workspaceId=ws_a1b2c3"{ "success": true, "items": [ { "reason": "your_turn", "signerId": "string", "request": { "id": "string", "templateId": "string", "templateName": "string", "name": "string", "message": "string", "status": "draft", "order": "parallel", "delivery": "email", "sendFrom": { "email": "[email protected]", "phone": "string" }, "layoutVersion": 0, "layoutChangedBy": null, "previousPdfs": [ { "sha256": "string", "fileName": "string", "pageCount": 0, "replacedAt": "2019-08-24T14:15:22Z", "replacedBy": "string" } ], "snapshot": { "pdf": { "fileName": "string", "pageCount": 0, "pageSizes": [ { "w": 0, "h": 0 } ], "sha256": "string", "md5": "string", "bytes": 0 }, "roles": [ { "roleId": "client", "label": "Client", "order": 1 } ], "fields": [ { "fieldId": "client_sig", "roleId": "client", "type": "signature", "label": "string", "required": true, "page": 0, "x": 0, "y": 0, "w": 0, "h": 0 } ] }, "signerSummary": { "total": 0, "completed": 0 }, "prefills": { "property1": "string", "property2": "string" }, "prefillEditable": [ "string" ], "expiresAt": "2019-08-24T14:15:22Z", "remindEveryDays": 2, "createdAt": "2019-08-24T14:15:22Z", "sentAt": "2019-08-24T14:15:22Z", "allSignedAt": "2019-08-24T14:15:22Z", "completedAt": "2019-08-24T14:15:22Z", "declinedAt": "2019-08-24T14:15:22Z", "voidedAt": "2019-08-24T14:15:22Z", "expiredAt": "2019-08-24T14:15:22Z", "result": null, "finalizeError": "string" } } ]}Count documents by stage GET
Counts for the HumaDocs home page: drafts, documents waiting for others, finished documents, and `actionsRequired`, the number of items [List what needs you](/docs/api-reference/signing/documents/listSigningActions) returns for the caller. **Permission:** `signing:read` @ `workspace/{workspaceId}`
See what you can send a document from GET
Every email address and phone number a document in this workspace can be sent from, and whether **you** may use each one. The HumaDocs address `[email protected]` is always first and always usable. A workspace address needs `email:send`, or `email:me:use` with the address assigned to you. A number needs `phone:send`. `defaults` are what the send dialog picks first: your first usable workspace address, else the HumaDocs address, and your first usable number. With no number that can send text messages, `numbers` is empty and `smsMissingReason` says why. `canAllocate` says whether you may add an address (`email:manage`) or a number (`phone:manage`) in the console. **Permission:** `signing:send` @ `workspace/{workspaceId}` #### Request ```bash curl "$HOS_API/signing/requests/senders?workspaceId=ws_a1b2c3" \ -H "Authorization: Bearer $HOS_KEY" ```