You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, could you please advise here. I want to send instant reminder email to pending recipients using below request. but I am getting 400 error "bad request".
I tried with OAuth 2.0 access with below code. But still, I am not able to send instant reminder email.
If I am setting reminderDelay = "1", reminderFrequency = "1" then it is sending reminder email after 24hr. But we need to send reminder email on user request.
string apiUrl = $"https://demo.docusign.net/restapi/v2.1/accounts/{accountId}/envelopes/{envelopId}? resend_envelope=true";
using (HttpClient client = new HttpClient())
{
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", accessToken);
string reminderApiUrl = $"{apiUrl}";
var reminderRequest = new
{
reminderEnabled = "true",
reminderDelay = "0",
reminderFrequency = "0"
};
string reminderJson = Newtonsoft.Json.JsonConvert.SerializeObject(reminderRequest);
StringContent reminderContent = new StringContent(reminderJson, Encoding.UTF8, "application/json");
HttpResponseMessage reminderResponse = await client.PutAsync(reminderApiUrl, reminderContent);
Is there POST API for send reminder email? I found this one post API but it's not working. ([https://demo.docusign.net/restapi/v2/accounts/{{accountId}}/envelopes/{{EnvelopeId}}/reminders])
Hi, could you please advise here. I want to send instant reminder email to pending recipients using below request. but I am getting 400 error "bad request".
Method:PUT, RequestUri: 'https://demo.docusign.net/restapi/v2/accounts/{AccountId}/envelopes/{envelopeId}?resend_envelope=true', Version: 1.1, Content: , Headers:
{
Accept: application/json
X-DocuSign-Authentication: {"Username":"xx", "Password":"xx", "IntegratorKey":"xx"}
}
The text was updated successfully, but these errors were encountered: