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
AuthorizationBearer <token>

A service account API key, sent whole as a bearer token: hsk_<40 hex>.hss_<64 hex>.

In: header

Query Parameters

workspaceId*string

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

GETSee what you can send a document from
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    }  }}
GET
/signing/requests/senders