Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SendGrid Send Email Rate Limit

Tags:

sendgrid

SendGrid documentation explicitly mentions rate limits on all resources here. The send api (https://api.sendgrid.com/v3/mail/send) doesn't seem to include any X-RateLimit headers in its response.

Does this mean that the send api is not rate limited?

like image 750
Anshul Koka Avatar asked Apr 15 '17 19:04

Anshul Koka


People also ask

How many emails can SendGrid send per hour?

SendGrid: A free plan on SendGrid allows you to send up to 100 emails per day; upgrading to a paid plan, you can send up to 1,500 emails per day and no more than 400 emails per hour.

How many emails can SendGrid send per day?

Once you create a sender identity a, you can send 100 emails per day. If you need to send more than that, complete your account setup to upgrade to a paid plan!

How many free emails can I send with SendGrid?

Send 100 emails/day free forever SendGrid is the world's largest email infrastructure as a service provider. We send over 100 billion non-spam emails a month for over 80,000 paying customers including technology leaders like AirBnB, Spotify, and Uber.

Why is SendGrid not sending?

1 Answer. You'll prob need to reach out to SendGrid support and ask them to check the SMTP protocol logs . I would have your admin check your message tracking logs first. Attachments: Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.


1 Answers

It seems so. The docs do no mention any specific endpoint when mentioning rate limits, see here

I made a request to https://api.sendgrid.com/v3/mail/send and got no X-Rate-Limit header, but a request to https://api.sendgrid.com/v3/scopes got me:

X-Ratelimit-Limit: 600 X-Ratelimit-Remaining: 599 X-Ratelimit-Reset: 1492362540

Also, most if not all libraries do not seem to take rate limit into account. If you write your own code maybe you should, the docs mention returning 429 HTTP status code when rate limit is reached. You should write your code in such a way that it waits for the X-Ratelimit-Reset before making another request.

like image 151
Sebastian-Laurenţiu Plesciuc Avatar answered Oct 06 '22 23:10

Sebastian-Laurenţiu Plesciuc