The action object describes a call to an external service.
An action object may define a required call for an extension or an optional call. Optional calls are known as capabilities.
Each action must conform to a contract defined by Docusign. This contract is specified by the template property.
| Property | Type | Required? | Description |
|---|---|---|---|
name | String | Yes | The name of the action or capability. For file IO extensions, valid values are:
get-file value is only used for actions that have Agreement Manager as the extension point. |
description | String | Yes | The description of the action. |
template | String | Yes | Defines the contract of the action. This determines the shape of the request that Docusign will send to the external platform called by this action. Valid values:
|
contractType | String | Depends on the action | Valid values:
action-with-callback. |
connectionsReference | String | Yes | The name of the connection defined in your manifest. |
params | Object | Yes | An object containing the data required to call the external platform. |
params.uri | String | Yes | The URI of the external platform called by the action. |
An action object looks like this.
{"name": "Verify Action","description": "Sends envelope values for verification by an external service","template": "ConnectedFields.Version1.Verify","connectionsReference": "authentication","params": {"uri": "https://fontara.com/api/connectedfields/verify"}