Skip to content

DocuSign: Gets template notification information

DocuSign esignature.esignatureNotificationGetTemplatesTemplateIdNotification: arguments, response, policy and SDK examples.

← Esignature operations · Get started

Operation docusign.esignature_notification_gettemplatestemplateidnotification

Provider route: GET /restapi/v2.1/accounts/{accountId}/templates/{templateId}/notification. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/docusign with npm, or alter-sdk-docusign with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { DocuSignIntegration } from "@alter-ai/docusign";
async function execute(input: Parameters<DocuSignIntegration["esignature"]["esignatureNotificationGetTemplatesTemplateIdNotification"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new DocuSignIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.esignature.esignatureNotificationGetTemplatesTemplateIdNotification(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_docusign import DocuSignIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = DocuSignIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.esignature.esignature_notification_get_templates_template_id_notification(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
pathobjectRequired within parentAdditional keys: not allowed
path.accountIdstringRequired within parent
path.templateIdstringRequired within parent

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$ModelRootExpand Gets envelope notification information — response body

Referenced models: Gets envelope notification information — response body

Gets envelope notification information — response body
FieldTypePresenceDescription and constraints
$objectRootA complex element that specifies the notification settings for the envelope.
expirationsModelOptionalExpand Gets envelope notification information — response body — expirations
A complex element that specifies the expiration settings for the envelope.
remindersModelOptionalExpand Gets envelope notification information — response body — reminders
A complex element that specifies reminder settings for the envelope.
useAccountDefaultsstringOptionalWhen **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.**

Referenced models: Gets envelope notification information — response body — expirations, Gets envelope notification information — response body — reminders

Gets envelope notification information — response body — expirations
FieldTypePresenceDescription and constraints
$objectRootA 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.
expireAfterstringOptionalAn integer that sets the number of days the envelope is active. For this value to be used, `expireEnabled` must be explicitly set to **true.**
expireEnabledstringOptionalWhen **true,** the envelope expires in the number of days set by `expireAfter`. When **false** or not set, the envelope expires in the number of days specified by the [default expiration account setting](https://support.docusign.com/s/document-item?bundleId=pik1583277475390&topicId=rra1583277381176.html).
expireWarnstringOptionalAn integer that specifying the number of days before the envelope expires that an expiration warning email is sent to the recipient. When 0 (zero), no warning email is sent.
Gets envelope notification information — response body — reminders
FieldTypePresenceDescription and constraints
$objectRootA complex element that specifies reminder settings for the envelope.
maximumReminderCountstringOptional
reminderDelaystringOptionalAn integer specifying the number of days after the recipient receives the envelope that reminder emails are sent to the recipient. The default value is 0.
reminderEnabledstringOptionalWhen **true,** reminders are enabled. The default value is **false.**
reminderFrequencystringOptionalAn integer specifying the interval in days between reminder emails. The default value is 0.
smartReminderEnabledstringOptional

SDK function policy ID: docusign.esignature_notification_gettemplatestemplateidnotification. Catalog operation: esignature:Notification_GetTemplatesTemplateIdNotification. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.