Skip to content
Proud to collaborate with Microsoft for Startups

docusign.authorizations.get-agent-user-authorizations ​

Returns the user authorizations for which the user specified by userId is the agent user. If the calling user is an account administrator, the full results will be returned. Otherwise, only authorizations for which the calling user is the principal user will be returned.

Returns the authorizations for which the specified user is the agent user.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-docusign
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
base_urlstringYes—Docusign API root, e.g. https://<host>/api
api_tokenstringNo—Bearer token; omit to use the workflow's token env var
accountidstringYes—The external account number (int) or account ID GUID.
useridstringYes—The user who is acting as the agent.
active_onlystringNo—When true, only active users are returned. The default value is false.
countstringNo—The maximum number of results to return.
email_substringstringNo—Filters returned user records by full email address or a substring of email address.
include_closed_usersstringNo—When true, returns active and scheduled authorizations of closed users. The default value is true. This value is only applied when active_only is false.
permissionsstringNo——
start_positionstringNo—The position within the total result set from which to start returning values. The value thumbnail may be used to return the page image.
task_sourcestringNo——
task_typestringNo——
user_name_substringstringNo—Filters results based on a full or partial user name. Note: When you enter a partial user name, you do not use a wildcard character.

Output Schema ​

FieldTypeRequiredDefaultDescription
base_urlstringYes—Docusign API root, e.g. https://<host>/api
api_tokenstringNo—Bearer token; omit to use the workflow's token env var
accountidstringYes—The external account number (int) or account ID GUID.
useridstringYes—The user who is acting as the agent.
active_onlystringNo—When true, only active users are returned. The default value is false.
countstringNo—The maximum number of results to return.
email_substringstringNo—Filters returned user records by full email address or a substring of email address.
include_closed_usersstringNo—When true, returns active and scheduled authorizations of closed users. The default value is true. This value is only applied when active_only is false.
permissionsstringNo——
start_positionstringNo—The position within the total result set from which to start returning values. The value thumbnail may be used to return the page image.
task_sourcestringNo——
task_typestringNo——
user_name_substringstringNo—Filters results based on a full or partial user name. Note: When you enter a partial user name, you do not use a wildcard character.
status_codeintegerNo—HTTP status code of the completed call
responsejsonNo—Parsed JSON response body
failure_reasonstringNo——
failure_typestringNo——
failed_atstringNo——
failed_stepstringNo——
failed_layerstringNo——
failed_at_statestringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—executeWaiting to call GET /v2.1/accounts/{accountId}/users/{userId}/authorizations/agent
completedNoYesYes—HTTP call succeeded
failedNoYesNo—HTTP call failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompletedPerform GET /v2.1/accounts/{accountId}/users/{userId}/authorizations/agent
* (any state)failfailedRecord the failure reason

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "docusign.authorizations.get-agent-user-authorizations",
  "initial_data": {
    "base_url": "value",
    "accountid": "value",
    "userid": "value"
  }
}