Issues related to SendGrid service provider's API version No. 3
Questions tagged [sendgrid-api-v3]
484 questions
24
votes
5 answers
How can I add unsubscribe links to my emails when sending via sendgrid/mail
I'm sending emails using: https://github.com/sendgrid/sendgrid-nodejs/tree/master/packages/mail
I have not been able to find out HOW I can add the Unsubscribe equivalent. This is documented in here:…

James111
- 15,378
- 15
- 78
- 121
24
votes
2 answers
SendGrid development environment
What is the best approach for SendGrid development QA environments? We'd like non Production environments that we can store and test our email templates via the API. The SendGrid sandbox setting doesn't allow emails to actually be sent.
Unless…

Richard Butterwood
- 735
- 1
- 12
- 29
17
votes
1 answer
Sending emails via Sendgrid failing for some mails - unable to get mx info: failed to get IPs from PTR record: lookup : unrecognized address
As per How do i send email from Azure function app, we are unable to send email directly from our Azure Function, so instead we are using the SendGrid API to send our emails. (SendGrid seems to work well for us, and we get a free account via our…

Gagravarr
- 47,320
- 10
- 111
- 156
16
votes
3 answers
Sendgrid - Activity says email delivered but email not received
I tried to send an email through sendgrid. I have a custom domain myself@contoso.com. If i try to send an email to user1@gmail.com with the from address as myself@contoso.com,then,the email is delivered to gmail with "via". When i try sending email…

Hari Subramaniam
- 1,814
- 5
- 26
- 46
15
votes
4 answers
How to send .ics calendar invite through SendGrid so that it renders in email clients?
I'm trying to send .ics calendar invites through SendGrid (from Node server) so that it renders in clients like Outlook or Gmail as an actual invitation (with accept/decline buttons) and not just as an attachment file.
I've spent days researching…

Denis Yakovenko
- 3,241
- 6
- 48
- 82
15
votes
2 answers
Updating SendGrid contact custom fields via SendGrid API. Why isn't this working?
I'm trying to update my SendGrid contacts and can't figure out why my attempts to update my contacts' custom fields are not working. My reserved fields (first_name, last_name, email) update, but my custom fields do not. Any ideas why?
Documentation…

Nicole Hemenway
- 563
- 5
- 13
13
votes
2 answers
Sendgrid: How to add a dynamic link to an email template?
I am trying to have a link in my email template that would sort of look like this:
click here>
The above link has been added in de "designer" by adding a "custom" link. The value for this like I enterd as {{url}}.
I pass an url…

xfscrypt
- 16
- 5
- 28
- 59
12
votes
4 answers
Is there a way to use SendGrid Template Versioning with different development life-cycle environments?
Versioning in SendGrid allows API clients to make template requests only by template ID documented here, however, only one version of a template can be "Active" at a time. Obviously, the template used for our production applications needs to always…

CodeKiller
- 375
- 4
- 12
9
votes
2 answers
Is there a way to retrieve the generated HTML email body of a dynamic template via SendGrid API call?
We have a site where our agents enter in some data, and then that data is sent to a client, via a SendGrid dynamic template.
The email content includes a lot of calculations based on the data entered, so we want our agents to have the ability to…

daybreaker
- 1,320
- 1
- 10
- 17
9
votes
2 answers
How to use SendGrid API with Dynamic Templates with NodeJS
I have a dynamic template in SendGrid, s.t. using Postman with a POST request to https://api.sendgrid.com/v3/mail/send
with the following json:
{
"personalizations": [{
"to": [{
"email": "dariusgoore@gmail.com",
…

user2799827
- 1,077
- 3
- 18
- 54
9
votes
2 answers
Warning while sending template email via sendgrid with '&'
I'm sending an email with help of the sendgrid api v3 but got the warning/error:
Content with characters ', " or & may need to be escaped with three brackets
{{{ content }}}
in my api json i'm adding an link containing the &…

andre_hold
- 562
- 8
- 20
9
votes
2 answers
Sendgrid Inbound Parse Webhook Emails are not received on Sendgrid
I am using the SendGrid for receiving the emails from my domain (example.com). I have configured all the steps from the mentioned link Sendgrid Inbound Parse Webhook.
I have added all the name records(MX records and CNAMES) in the GoDaddy DNS…

niks290192
- 694
- 1
- 9
- 23
9
votes
5 answers
Sendgrid: use template versions to support multiple languages
I want to utilize Sendgrid template versions to support multiple language support.
According to Sendgrid documentation:
A template can only have one active version at a time. If you’ve
created a new version with different HTML that you want your…

Hutsul
- 1,535
- 4
- 31
- 51
9
votes
2 answers
How to get the full SendGrid API Key?
I am able to obtain an API key from the web app. However, according to SendGrid documentation, I am only allowed to access a small subset of the whole key.
If you see the API key sample…

AlvinfromDiaspar
- 6,611
- 13
- 75
- 140
8
votes
2 answers
SendGrid client TypeScript Error: HttpMethod
I have:
import sendgridClient from '@sendgrid/client'
sendgridClient.setApiKey(process.env.SENDGRID_API_KEY);
const sendgridRequest = {
method: 'PUT',
url: '/v3/marketing/contacts',
body: {
list_ids: [myId],
…

Shamoon
- 41,293
- 91
- 306
- 570