Skip to content

DocuSign: Gets envelope notification defaults

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

← Esignature operations · Get started

Operation docusign.esignature_notificationdefaults_getnotificationdefaults

Provider route: GET /restapi/v2.1/accounts/{accountId}/settings/notification_defaults. 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"]["esignatureNotificationDefaultsGetNotificationDefaults"]>[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.esignatureNotificationDefaultsGetNotificationDefaults(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_defaults_get_notification_defaults(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

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 defaults — response body

Referenced models: Gets envelope notification defaults — response body

Gets envelope notification defaults — response body
FieldTypePresenceDescription and constraints
$objectRoot
apiEmailNotificationsModelOptionalExpand Gets envelope notification defaults — response body — email Notifications
The default notification settings for envelopes sent by using the console.
emailNotificationsModelOptionalExpand Gets envelope notification defaults — response body — email Notifications
The default notification settings for envelopes sent by using the API.

Referenced models: Gets envelope notification defaults — response body — email Notifications

Gets envelope notification defaults — response body — email Notifications
FieldTypePresenceDescription and constraints
$objectRootContains details about the default notification settings for the envelope notifications that senders and signers receive.
senderEmailNotificationsModelOptionalExpand Gets the user account settings for a specified user — response body — sender Email Notifications

An array of email notifications that sets the email the user receives when they are a sender. When the specific email notification is set to true, the user will receive those types of email notifications from Docusign.

The user inherits the default account sender email notification settings when the user is created. The email notifications are:

* envelopeComplete
* changedSigner
* senderEnvelopeDeclined
* withdrawnConsent
* recipientViewed
* deliveryFailed
signerEmailNotificationsModelOptionalExpand Gets the user account settings for a specified user — response body — signer Email Notifications
An array of email notifications that specifies the email the user receives when they are a recipient. When the specific email notification is set to true, the user receives those types of email notifications from Docusign. The user inherits the default account email notification settings when the user is created.

Referenced models: Gets the user account settings for a specified user — response body — sender Email Notifications, Gets the user account settings for a specified user — response body — signer Email Notifications

Gets the user account settings for a specified user — response body — sender Email Notifications
FieldTypePresenceDescription and constraints
$objectRootContains the settings for the email notifications that senders receive about the envelopes that they send.
changedSignerstringOptionalWhen **true,** the sender receives an email notification if the signer changes.
clickwrapResponsesLimitNotificationEmailstringOptional
commentsOnlyPrivateAndMentionstringOptionalWhen **true,** the user receives only comments that mention their own user name.
commentsReceiveAllstringOptionalWhen **true,** the user receives all comments.
deliveryFailedstringOptionalWhen **true,** the sender receives an email notification if envelope delivery fails.
envelopeCompletestringOptionalWhen **true,** the user receives an email notification when the envelope has been completed.
offlineSigningFailedstringOptionalWhen **true,** the user receives an email notification if offline signing failed.
powerformResponsesLimitNotificationEmailstringOptional
purgeDocumentsstringOptionalWhen **true,** the user receives an email notification when a document purge occurs.
recipientViewedstringOptionalWhen **true,** the sender receives notification that a recipient viewed the envelope.
senderEnvelopeDeclinedstringOptionalWhen **true,** the sender receives notification that the envelope was declined.
withdrawnConsentstringOptionalWhen **true,** the user receives an email notification if consent is withdrawn.
Gets the user account settings for a specified user — response body — signer Email Notifications
FieldTypePresenceDescription and constraints
$objectRootAn array of email notifications that specifies the email the user receives when they are a recipient. When the specific email notification is set to true, the user receives those types of email notifications from Docusign. The user inherits the default account email notification settings when the user is created.
agentNotificationstringOptionalWhen **true,** the user receives agent notification emails.
carbonCopyNotificationstringOptionalWhen **true,** the user receives notifications of carbon copy deliveries.
certifiedDeliveryNotificationstringOptionalWhen **true,** the user receives notifications of certified deliveries.
commentsOnlyPrivateAndMentionstringOptionalWhen **true,** the user receives only comments that mention their own user name.
commentsReceiveAllstringOptionalWhen **true,** the user receives all comments.
documentMarkupActivationstringOptionalWhen **true,** the user receives notification that document markup has been activated.
envelopeActivationstringOptionalWhen **true,** the user receives notification that the envelope has been activated.
envelopeCompletestringOptionalWhen **true,** the user receives an email notification when the envelope has been completed.
envelopeCorrectedstringOptionalWhen **true,** the user receives notification that the envelope has been corrected.
envelopeDeclinedstringOptionalWhen **true,** the user receives notification that the envelope has been declined.
envelopeVoidedstringOptionalWhen **true,** the user receives notification that the envelope has been voided.
faxReceivedstringOptionalReserved for Docusign.
offlineSigningFailedstringOptionalWhen **true,** the user receives an email notification if offline signing failed.
purgeDocumentsstringOptionalWhen **true,** the user receives an email notification when a document purge occurs.
reassignedSignerstringOptionalWhen **true,** the user receives notification that the envelope has been reassigned.
whenSigningGroupMemberstringOptionalWhen **true,** the user receives notification that he or she is a member of the signing group.

SDK function policy ID: docusign.esignature_notificationdefaults_getnotificationdefaults. Catalog operation: esignature:NotificationDefaults_GetNotificationDefaults. 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.