Twilio SendGrid Alerts API
The Twilio SendGrid Alerts API allows you to specify an email address to receive notifications regarding your email usage or statistics. You can set up alerts…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
The Twilio SendGrid Alerts API allows you to specify an email address to receive notifications regarding your email usage or statistics. You can set up alerts to be sent to a specific email address on a recurring basis, whether for informational purposes or when specific account actions occur.
For most alerts, you can choose to have the alert sent to you as needed, hourly, daily, weekly, or monthly. The information contained in your alert will be for the last period of the alert. For example, if you choose weekly for the statistics alert, you will receive the statistics for the last week.
Endpoints 5
Alerts
- GETRetrieve all alerts
/v3/alertsThis endpoint allows you to retrieve all of your alerts. - POSTCreate a new Alert
/v3/alertsThis endpoint allows you to create a new alert. - GETRetrieve a specific alert
/v3/alerts/:alert_idThis endpoint allows you to retrieve a specific alert. - DELETEDelete an alert
/v3/alerts/:alert_idThis endpoint allows you to delete an alert. - PATCHUpdate an alert
/v3/alerts/:alert_idThis endpoint allows you to update an alert.
API details
- Base URL
https://api.sendgrid.comhttps://api.eu.sendgrid.com- Authentication
- A bearer token in the Authorization header
- Operations
- 5 operations on 2 pathsGET 2POST 1PATCH 1DELETE 1
- Main resources
- Alerts 5
- Response formats
application/json- Description format
- OpenAPI 3.1.0, API version
1.0.0 - Links
- Documentation · OpenAPI document · Terms of service · Support
How to test the Twilio SendGrid Alerts API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Twilio SendGrid Alerts API collection, without the publisher's secrets.
- Add your credentialsThis API uses A bearer token in the Authorization header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Retrieve all alerts” (GET /v3/alerts), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Twilio SendGrid Alerts API?
The Twilio SendGrid Alerts API allows you to specify an email address to receive notifications regarding your email usage or statistics. You can set up alerts… It is listed under Communication and has 5 endpoints.
Who publishes the Twilio SendGrid Alerts API?
It is listed from SendGrid's public API description (an OpenAPI document), not published by SendGrid on Swastik Codes. Anyone who controls sendgrid.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Twilio SendGrid Alerts API?
Its description lists 2 base URLs: https://api.sendgrid.com, https://api.eu.sendgrid.com. The first is the usual one; the others are typically sandbox or regional servers.
How do I authenticate with the Twilio SendGrid Alerts API?
With A bearer token in the Authorization header.
How many endpoints does the Twilio SendGrid Alerts API have?
5 operations on 2 paths (2 GET, 1 POST, 1 PATCH, 1 DELETE). The largest groups are Alerts.
Is forking the Twilio SendGrid Alerts API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.