# Twilio SendGrid Marketing Campaigns Statistics API API

> Twilio SendGrid Marketing Campaigns Statistics API API on Apizie: 8 endpoints (Get All Automation Stats, Get Automation Stats by ID, Get Automation Click Tracking Stats by ID, Export Single Send Stats, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/communication:sendgrid-mc-stats-v3/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `communication:sendgrid-mc-stats-v3`
- Category: Communication
- Status: byok
- Source: https://www.twilio.com/docs/sendgrid/api-reference
- Page: https://apizie.tech/api/communication/sendgrid-mc-stats-v3
- OpenAPI: https://apizie.tech/api/communication/sendgrid-mc-stats-v3/openapi.json

The Marketing Campaigns Stats API allows you to retrieve statistics for both Automations and Single Sends. The statistics provided include bounces, clicks, opens, and more. You can export stats in CSV format for use in…

## Endpoints

### Get All Automation Stats
`GET https://apizie.tech/v1/communication:sendgrid-mc-stats-v3/list-automation-stat` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| automation_ids | array | no | This endpoint returns all automation IDs if no `automation_ids` are specified. |
| page_size | integer | no | The number of elements you want returned on each page. |
| page_token | string | no | The stats endpoints are paginated. To get the next page, call the passed `_metadata.next` URL. If `_metadata.prev` doesn't exist, you're… |

### Get Automation Stats by ID
`GET https://apizie.tech/v1/communication:sendgrid-mc-stats-v3/get-automation-stat` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | The ID of the Automation for which you want to retrieve statistics. |
| group_by | array | no | Automations can have multiple steps. Including `step_id` as a `group_by` metric allows further granularity of stats. |
| step_ids | array | no | Comma-separated list of `step_ids` that you want the link stats for. |
| aggregated_by | string | no | Dictates how the stats are time-sliced. Currently, `"total"` and `"day"` are supported. |
| start_date | string | no | Format: `YYYY-MM-DD`. If this parameter is included, the stats' start date is included in the search. |
| end_date | string | no | Format: `YYYY-MM-DD`.If this parameter is included, the stats' end date is included in the search. |
| timezone | string | no | [IANA Area/Region](https://en.wikipedia.org/wiki/Tz_database#Names_of_timezones) string representing the timezone in which the stats are… |
| page_size | integer | no | The number of elements you want returned on each page. |
| page_token | string | no | The stats endpoints are paginated. To get the next page, call the passed `_metadata.next` URL. If `_metadata.prev` doesn't exist, you're… |

### Get Automation Click Tracking Stats by ID
`GET https://apizie.tech/v1/communication:sendgrid-mc-stats-v3/list-click-tracking-stat` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | The ID of the Automation you want to get click tracking stats for. |
| group_by | array | no | Automations can have multiple steps. Including `step_id` as a `group_by` metric allows further granularity of stats. |
| step_ids | array | no | Comma-separated list of `step_ids` that you want the link stats for. |
| page_size | integer | no | The number of elements you want returned on each page. |
| page_token | string | no | The stats endpoints are paginated. To get the next page, call the passed `_metadata.next` URL. If `_metadata.prev` doesn't exist, you're… |

### Export Single Send Stats
`GET https://apizie.tech/v1/communication:sendgrid-mc-stats-v3/export-automation-stat` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| ids | array | no | The IDs of Single Sends for which to export stats. |
| timezone | string | no | The [IANA Area/Region](https://en.wikipedia.org/wiki/Tz_database#Names_of_timezones) string representing the timezone in which the stats… |

### Get All Single Sends Stats
`GET https://apizie.tech/v1/communication:sendgrid-mc-stats-v3/list-single-send-stat` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| singlesend_ids | array | no | This endpoint returns all Single Send IDs if no IDs are included in `singlesend_ids`. |
| page_size | integer | no | The number of elements you want returned on each page. |
| page_token | string | no | The stats endpoints are paginated. To get the next page, call the passed `_metadata.next` URL. If `_metadata.prev` doesn't exist, you're… |

### Get Single Send Stats by ID
`GET https://apizie.tech/v1/communication:sendgrid-mc-stats-v3/get-single-send-stat` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | The ID of Single Send for which you want to retrieve stats. |
| aggregated_by | string | no | Dictates how the stats are time-sliced. Currently, `"total"` and `"day"` are supported. |
| start_date | string | no | Format: `YYYY-MM-DD`. If this parameter is included, the stats' start date is included in the search. |
| end_date | string | no | Format: `YYYY-MM-DD`.If this parameter is included, the stats' end date is included in the search. |
| timezone | string | no | [IANA Area/Region](https://en.wikipedia.org/wiki/Tz_database#Names_of_timezones) string representing the timezone in which the stats are… |
| page_size | integer | no | The number of elements you want returned on each page. |
| page_token | string | no | The stats endpoints are paginated. To get the next page, call the passed `_metadata.next` URL. If `_metadata.prev` doesn't exist, you're… |
| group_by | array | no | A/B Single Sends have multiple variation IDs and phase IDs. Including these additional fields allows further granularity of stats by these… |

### Get Single Send Click Tracking Stats by ID
`GET https://apizie.tech/v1/communication:sendgrid-mc-stats-v3/list-single-send-tracking-stat` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | The ID of Single Send for which you want to retrieve link stats. |
| page_size | integer | no | The number of elements you want returned on each page. |
| page_token | string | no | The stats endpoints are paginated. To get the next page, call the passed `_metadata.next` URL. If `_metadata.prev` doesn't exist, you're… |
| group_by | array | no | A/B Single Sends have multiple variation IDs and phase IDs. Including these additional fields allows further granularity of stats by these… |
| ab_variation_id | string | no |  |
| ab_phase_id | string | no |  |

### Export Single Send Stats
`GET https://apizie.tech/v1/communication:sendgrid-mc-stats-v3/export-single-send-stat` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| ids | array | no | The IDs of Single Sends for which to export stats. |
| timezone | string | no | The [IANA Area/Region](https://en.wikipedia.org/wiki/Tz_database#Names_of_timezones) string representing the timezone in which the stats… |

## Example
```
curl "https://apizie.tech/v1/communication:sendgrid-mc-stats-v3/list-automation-stat" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Twilio SendGrid Marketing Campaigns Statistics API API?
Create a free Apizie key, then send GET https://apizie.tech/v1/communication:sendgrid-mc-stats-v3/list-automation-stat with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Twilio SendGrid Marketing Campaigns Statistics API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Twilio SendGrid Marketing Campaigns Statistics API itself also needs your own key from sendgrid.com.

### Can AI agents use the Twilio SendGrid Marketing Campaigns Statistics API API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key communication:sendgrid-mc-stats-v3.

### What is the status of the Twilio SendGrid Marketing Campaigns Statistics API API?
Needs your own provider key (bring your own key)
