Welcome to SendGrid's Web API v3! This API is RESTful and offers support in seven different languages.
All calls within the Web API are allotted a specific number of requests per refresh period.
Each Web API request returns the following header information regarding rate limits and number of requests left.
Depending on the endpoint you are trying to reach, it will have a specific number of allowed requests per refresh period. Once this threshold has been reached, we will return a status code 429
response.
GET https://api.sendgrid.com/v3/resource HTTP/1.1
1HTTP/1.1 200 OK2Content-Type: application/json3X-RateLimit-Limit: 5004X-RateLimit-Remaining: 4995X-RateLimit-Reset: 139281526367{8"foo": "bar"9}
You will no longer be able to make request against that endpoint for the duration of that refresh period.
GET https://api.sendgrid.com/v3/resource/ HTTP/1.1
1HTTP/1.1 429 TOO MANY REQUESTS2Content-Type: application/json3X-RateLimit-Limit: 1504X-RateLimit-Remaining: 05X-RateLimit-Reset: 139281526367{8"errors": [9{10"field": null,11"message": "too many requests"12},13]14}