Get SendGrid email delivery stats for an integration
GET/v1/integrations/:integration_id/sendgrid/stats
Returns aggregated SendGrid email delivery statistics for a date range.
The response includes the resolved query window (start_date, end_date,
aggregated_by), range-wide totals under totals, and a per-bucket
breakdown. Counts are scoped to the integration: stats are fetched
with the integration's own (subuser-scoped) SendGrid API key.
Permissions - integrations.read. API keys - manage.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Aggregated email delivery stats
BadRequest
Response Headers
Unique identifier for the API request, useful for debugging and tracking.
abc123xyz789Unauthorized
Response Headers
Unique identifier for the API request, useful for debugging and tracking.
abc123xyz789The requested integration belongs to a different account, or the integration's SendGrid API key lacks the stats.read scope.
The specified resource was not found
Response Headers
Unique identifier for the API request, useful for debugging and tracking.
abc123xyz789SendGrid API unreachable or returned an unexpected error.