Authentication
Twilio supported SDKs
The Twilio SendGrid Web REST API v3 provides SDKs for seven different languages.
The Twilio SendGrid Web API v3 supports API keys, which add an additional layer of security to your account. Using API keys, you can:
- Use another method of authentication separate from your account username and password.
- Assign specific permissions to API keys that limit which areas of your account the key can access.
You can create API keys in your account. To use an API key, include an Authorization header with the value Bearer <YOUR_API_KEY_HERE> in your request. Replace <YOUR_API_KEY_HERE> with your API secret key.
1GET https://api.sendgrid.com/v3/resource HTTP/1.12Authorization: Bearer <YOUR_API_KEY_HERE>
1curl -X "GET" "https://api.sendgrid.com/v3/templates" \2-H "Authorization: Bearer <YOUR_API_KEY_HERE>" \3-H "Content-Type: application/json"