Rate Limits
Twilio supported SDKs
The Twilio SendGrid Web REST API v3 provides SDKs for seven different languages.
Each Web API response includes rate-limit headers that indicate how many requests remain in the current refresh period. Each endpoint permits a fixed number of requests per refresh period. If you exceed that limit, the API returns an HTTP 429 (Too Many Requests) status code.
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}
When you reach a rate limit, you can no longer make requests against that endpoint for the remainder of the refresh period, and the API returns a 429 response.
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}