provider Alerts GET
/alerts/{alert_id} @utdk/sendgrid
/alerts/{alert_id} Retrieve a specific alert
**This endpoint allows you to retrieve a specific alert.**
Alerts allow you to specify an email address to receive notifications regarding your email usage or statistics.
* Usage alerts allow you to set the threshold at which an alert will be sent.
* Stats notifications allow you to set how frequently you would like to receive email statistics reports. For example, "daily", "weekly", or "monthly".
For more information about alerts, please see our [Alerts documentation](https://sendgrid.com/docs/ui/account-and-settings/alerts/).
- alert_id path required
- The ID of the alert you would like to retrieve.
- integer
- Authorization header
- string
- on-behalf-of header
- string
Try it
Authentication
Configure credentials for Email Activity (beta)
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import sendgrid from '@utdk/sendgrid';
await sendgrid.getAlertsAlertId({
"on-behalf-of": "The subuser's username. This header generates the API call as if the subuser account was making the call."
})