Mike
Mike

Reputation: 807

Error Adding Recipient with Custom Email Notfication

I'm attempting to add a recipient to a draft envelope and althought the recipient does get added I receive an error message related to the notification. Could someone explain the USER_LACKS_RECIPIENTEMAILNOTIFICATION_PERMISSION error is exactly?

POST /restapi/v2/accounts/123456/envelopes/3a20bef6-0d88-431a-aaf1-e27baa9b59a6/recipients HTTP/1.1

{
"carbonCopies": [
{
  "email": "[email protected]",
  "name": "Mike",
  "accessCode": "xyz",
  "addAccessCodeToEmail": true,
  "emailNotification": {
    "emailBody": "Custom email message different than the envelope body",
    "emailSubject": "Custom email subject",
    "supportedLanguage": "en"
  },
  "inheritEmailNotificationChange": false,
  "note": "Sample note",
  "recipientId": "1",
  "routingOrder": "1"
}
]
}

And here is the response that I receive back:

{
"signers": [],
"agents": [],
"editors": [],
"intermediaries": [],
"carbonCopies": [
{
  "name": "Mike",
  "email": "[email protected]",
  "recipientId": "1",
  "accessCode": "xyz",
  "requireIdLookup": "false",
  "routingOrder": "1",
  "note": "Sample note",
  "status": "error",
  "emailNotification": {
    "emailSubject": "Custom email subject",
    "emailBody": "Custom email message different than the envelope body",
    "supportedLanguage": "en"
  },
  "errorDetails": {
    "errorCode": "USER_LACKS_RECIPIENTEMAILNOTIFICATION_PERMISSION",
    "message": "Account or user does not have permission to set recipient email notifications."
  }
}
],
"certifiedDeliveries": [],
"inPersonSigners": [],
"recipientCount": "1"
}

The only permission setting that I can see might pertain to this is the following, but I can not change it's value.

enter image description here

Upvotes: 0

Views: 1219

Answers (2)

Dewey
Dewey

Reputation: 26

The answer to get around this issue is to not supply the ""supportedLanguage" property for the recipient. This is a feature that will need to be turned on for your sending user in order to use it.

Upvotes: 1

reinkesm
reinkesm

Reputation: 511

Check the "Reminders & Expirations" section to make sure you don't have the "Do NOT allow users to override these settings" setting checked?

enter image description here enter image description here

Upvotes: 0

Related Questions