SendGrid
Get SendGrid Email Stats
Get email sending statistics for a date range.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| identifieraccount · required | account | required | — |
| startDatestring · required | string | required | Example: |
| endDatestring · optional | string | optional | Example: |
| aggregatedBystring · optional | string | optional | One of: |
Response schema
{
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string"
},
"stats": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metrics": {
"type": "object",
"properties": {
"opens": {
"type": "number"
},
"clicks": {
"type": "number"
},
"bounces": {
"type": "number"
},
"requests": {
"type": "number"
},
"delivered": {
"type": "number"
},
"spam_reports": {
"type": "number"
}
}
}
}
}
}
}
}
}