Templates

Updates the notification structure for an existing template

PUT
/v2.1/accounts/{accountId}/templates/{templateId}/notification

Updates the notification structure for an existing template. Use this endpoint to set reminder and expiration notifications.

Authorization

OAuth2
AuthorizationBearer <token>

OAuth 2.0 access token obtained via Authorization Code Grant or JWT Grant.

In: header

Path Parameters

accountId*string

The external account number (int) or account ID GUID.

templateId*string

The ID of the template.

Request Body

application/json

expirations?

A complex element that specifies the expiration settings for the envelope. When an envelope expires, it is voided and no longer available for signing. Note: there is a short delay between when the envelope expires and when it is voided.

password?string

The user's password.

This property is used only when adding a new user via a Users: create request. The value must conform to the password rules defined in the account Security Settings.

This property is not returned by GET requests and cannot be updated via PUT requests.

reminders?

A complex element that specifies reminder settings for the envelope.

useAccountDefaults?string

When true, the account default notification settings are used for the envelope, overriding the reminders and expirations settings. When false, the reminders and expirations settings specified in this request are used. The default value is false.

Response Body

application/json

application/json

curl -X PUT "https://example.com/v2.1/accounts/string/templates/string/notification" \  -H "Content-Type: application/json" \  -d '{}'
{  "expirations": {    "expireAfter": "string",    "expireEnabled": "string",    "expireWarn": "string"  },  "reminders": {    "maximumReminderCount": "string",    "reminderDelay": "string",    "reminderEnabled": "string",    "reminderFrequency": "string",    "smartReminderEnabled": "string"  },  "useAccountDefaults": "string"}