provider Webhooks GET
/user/webhooks/parse/stats @utdk/sendgrid
/user/webhooks/parse/stats Retrieves Inbound Parse Webhook statistics.
**This endpoint allows you to retrieve the statistics for your Parse Webhook useage.**
SendGrid's Inbound Parse Webhook allows you to parse the contents and attachments of incomming emails. The Parse API can then POST the parsed emails to a URL that you specify. The Inbound Parse Webhook cannot parse messages greater than 30MB in size, including all attachments.
There are a number of pre-made integrations for the SendGrid Parse Webhook which make processing events easy. You can find these integrations in the [Library Index](https://sendgrid.com/docs/Integrate/libraries.html#-Webhook-Libraries).
- limit query
- The number of statistics to return on each page.
- string
- offset query
- The number of statistics to skip.
- string
- aggregated_by query
- How you would like the statistics to by grouped.
- enum: day, week, month
- start_date query required
- The starting date of the statistics you want to retrieve. Must be in the format YYYY-MM-DD
- string
- end_date query
- The end date of the statistics you want to retrieve. Must be in the format YYYY-MM-DD
- 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.getUserWebhooksParseStats({
"end_date": "The day the request is made.",
"on-behalf-of": "The subuser's username. This header generates the API call as if the subuser account was making the call."
})