See what you can send a document from
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
curl "$HOS_API/signing/requests/senders?workspaceId=ws_a1b2c3" \ -H "Authorization: Bearer $HOS_KEY"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/senders?workspaceId=ws_a1b2c3"{ "success": true, "senders": { "emails": [ { "email": "[email protected]", "displayName": "HumaDocs", "platform": true, "usable": true, "reason": null }, { "email": "[email protected]", "displayName": "Acme Plumbing", "platform": false, "usable": true, "reason": null } ], "numbers": [ { "phoneNumber": "+15551234567", "friendlyName": "Main line", "usable": true, "reason": null } ], "defaults": { "email": "[email protected]", "phone": "+15551234567" }, "smsMissingReason": null, "hasWorkspaceEmail": true, "canAllocate": { "email": false, "phone": true } }}List what needs you GET
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}`
Get a document GET
The document, everyone on it, and the values you filled in before sending. Signer links are never part of this response. **Permission:** `signing:read` @ `workspace/{workspaceId}/signingRequest/{signingRequestId}`