Get newsletter statistics with the GetResponse API
Returns the statistics of one newsletter as a list of time intervals, each with sent, opens, clicks, forwarded, unsubscribed, bounced and complaints, in total and unique counts. Add the intervals up for the totals; page with page and perPage, and a page shorter than perPage is the last.
- Identifier
- getresponse_get_newsletter_statistics
The request
POST https://connect.reportei.com/api/tools/getresponse_get_newsletter_statistics/execute
Authorization: Bearer <merchant token>
x-customer-token: <customer token>
Content-Type: application/json
Accept: application/json
{
"customer_toolkit": "<connection UUID>",
"arguments": {
"newsletterId": "<newsletterId>"
}
}Your system sends your customer's connection id and the tool arguments. The headers are the same as the rest of the Connect API: your product's token and your customer's token.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| newsletterId | string | Yes | Id of the newsletter, from List newsletters. |
| fields | string | No | Fields to return, comma-separated, such as sent,uniqueOpened,uniqueClicked. |
| perPage | integer | No | Intervals per page, up to 1000. The default is 100. |
| page | integer | No | Page number, starting at 1. |
Supported connections
Your customer connects their GetResponse account once, with one of the modes below. The same connection serves every tool of the toolkit.
API key
Your customer pastes the app's key on a Connect screen, or your system sends the key with POST /api/customer-toolkits, with no screen.
The response
On success, Connect preserves the app's response status and body. HTTP errors returned by the app use the {error, api_error} envelope; authentication or validation can fail before execution. The X-Toolkit-Execution-Id header identifies the recorded execution, available at GET /api/tools/executions/{uuid}.
Ready for AI agents
This tool's input is a JSON Schema, available at GET /api/tools/getresponse_get_newsletter_statistics. It becomes your agent's tool definition with no conversion.
Other GetResponse tools
- Search contactsPOSTSearches the contacts of one or more campaigns (contact lists) by subscription status and, optionally, by email or name. Unconfirmed double opt-in contacts show up only here. Page with page and perPage, up to 1000; a page shorter than perPage is the last.
- Get contactGETReturns one active contact with email, name, campaign, dayOfCycle, tags and customFieldValues. A removed contact answers 404.
- Create contactPOSTAdds a contact to a campaign (contact list). GetResponse answers 202 with no body and processes it in a queue that can take a few minutes, so find the contactId later with Search contacts. In a double opt-in list, the person gets a confirmation email first. An email already in the list answers 409.
- Update contactPOSTUpdates a contact. Only the fields sent change. A different campaign moves the contact, with its history and statistics, to that list.
- List campaignsGETLists the campaigns, which are the contact lists of GetResponse, with campaignId, name, languageCode and isDefault. Page with page and perPage, up to 1000; a page shorter than perPage is the last.
- Create campaignPOSTCreates a campaign, which is a contact list in GetResponse, and returns it with its campaignId. An account has up to 1000 lists, and a name already in use answers 409.
- List newslettersGETLists the newsletters, drafts included, with newsletterId, subject, type, campaign, sendOn and sendMetrics, which has delivered, openRate and clickRate. Page with page and perPage, up to 1000; a page shorter than perPage is the last.
- Get newsletterGETReturns one newsletter with its content, fromField, campaign, sendSettings, sendOn and sendMetrics.
Toolkits in the same category
See all 100 toolkitsSee Connect applied to your product.
Try it for 15 days with no card, or walk our team through your use case.
