Autoresponders API
- Table of Contents
- Remote Lists
- Autoresponder Attributes
- Get a list of autoresponders
Remote Lists
Autoresponders are not available on Remote Lists.
API calls to these endpoints will return an error message if attempted on a Remote List.
Autoresponder Attributes
autoresponder
hash
|
Get a list of autoresponders
Get a list of the basic details of all autoresponders of a particular mailing list.
URL
GET /ga/api/v2/mailing_lists/:mailing_list_id/autoresponders
Request Parameters
You can send optional query string parameters using the following attributes:
name
string |
Filter the list of autoresponders to those with this case-insensitive name. This may include wildcard characters Specifying |
minimal
boolean |
If ResponseThe response will be a JSON array where each element contains the Autoresponder Attributes. Example
Create a new autoresponderCreate a new autoresponder on the specified mailing list. URLPOST /ga/api/v2/mailing_lists/:mailing_list_id/autoresponders Request ParametersThe request body should be a JSON hash of Autoresponder Attributes. ResponseThe response will be a JSON hash of Autoresponder Attributes. ExampleNote that the JSON response will not be “pretty formatted” as it is below.
Update an existing autoresponderUpdate an existing autoresponder. URLPUT /ga/api/v2/mailing_lists/:mailing_list_id/autoresponders/:id Request ParametersThe request body should be a JSON hash of Autoresponder Attributes. ResponseThe response will be a JSON hash of Autoresponder Attributes. ExampleNote that the JSON response will not be “pretty formatted” as it is below.
Get statistics for an autoresponderURLGET /ga/api/v2/mailing_lists/:mailing_list_id/autoresponders/:id/statistics GET /ga/api/v2/mailing_lists/:mailing_list_id/autoresponders/:id/statistics?start_date=20140302&end_date=20140401 Request Parameters{apitable} |
mailing_list_id
integer |
The |
id
integer |
The |
start_date
integer |
The earliest date (as an integer) that email was sent for the requested statistics. The result will include statistics for emails sent on this date. This can be blank. |
end_date
integer |
The latest date (as an integer) that email was sent for the requested statistics. The result will include statistics for emails sent on this date. This can be blank. |
Response
sent_text
integer |
Number of recipients that were sent a text-only message. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
sent_html
integer |
Number of recipients that were sent a html-only message. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
sent_multipart
integer |
Number of recipients that were sent a multipart message. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
messages_sent
integer |
Total number of recipients. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
messages_html
integer |
Number of recipients that received either an HTML or multipart message. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
messages_text
integer |
Number of recipients that received a text-only message. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
bounces_total
integer |
Total number of bounces received. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
bounces_unique
integer |
Unique (by subscriber) bounces received. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
bounces_unique_hard
integer |
Number of unique (by subscriber) bounces where bounce_type is hard. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
bounces_unique_soft
integer |
Number of unique (by subscriber) bounces where bounce_type is soft. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
bounces_unique_other
integer |
Number of unique (by subscriber) bounces where bounce_type is other. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
bounces_unique_local
integer |
Number of unique (by subscriber) bounces that were local. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
bounces_unique_remote
integer |
Number of unique (by subscriber) bounces that were remote. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
bounces_status_updated
integer |
Number of recipients where status was updated to status
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
bounces_unique_by_code
hash |
Number of unique (by subscriber) bounces for each bounce code. The keys in the included hash are the bounce code. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
bounced
integer |
Deprecated: Unique (by subscriber) bounces received.
This is just another name for |
||||||||||||||||||||||||||||||||||||||||||||||||||||
duplicate_bounces
integer |
Number of non-unique bounces. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
unbounced
integer |
Number of messages that were sent that have not bounced. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
bounce_rate
float |
Floating point value indicating the unique bounce rate for this autoresponder.
This value ranges from |
||||||||||||||||||||||||||||||||||||||||||||||||||||
bounce_rate_hard
float |
The ratio of the unique bounces that were hard bounces.
This value ranges from |
||||||||||||||||||||||||||||||||||||||||||||||||||||
bounce_rate_soft
float |
The ratio of the unique bounces that were soft bounces.
This value ranges from |
||||||||||||||||||||||||||||||||||||||||||||||||||||
bounce_rate_other
float |
The ratio of the unique bounces that were other bounces.
This value ranges from |
||||||||||||||||||||||||||||||||||||||||||||||||||||
bounce_local_rate
float |
The ratio of the unique bounces that were local bounces.
This value ranges from |
||||||||||||||||||||||||||||||||||||||||||||||||||||
clicks_total
integer |
Number of total clicks. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
clicks_unique
integer |
Number of unique clicks (unique by subscriber). |
||||||||||||||||||||||||||||||||||||||||||||||||||||
clicks_unique_by_link
integer |
Deprecated: Number of unique clicks (unique by subscriber/link) – this value does not carry much meaning. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
duplicate_clicks
integer |
Number of non-unique clicks. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
click_rate
float |
The ratio of messages that were accepted and have been clicked.
This value ranges from |
||||||||||||||||||||||||||||||||||||||||||||||||||||
click_to_open_rate
float |
The ratio of messages that were opened that have been clicked.
This value ranges from |
||||||||||||||||||||||||||||||||||||||||||||||||||||
unclicked
integer |
Number of messages that were accepted by the remote server but have not been clicked. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
opens_total
integer |
Number of total opens |
||||||||||||||||||||||||||||||||||||||||||||||||||||
opens_unique
integer |
Number of unique opens (unique by subscriber) |
||||||||||||||||||||||||||||||||||||||||||||||||||||
open_rate
float |
Ratio of messages that were accepted that have been opened.
This value ranges from |
||||||||||||||||||||||||||||||||||||||||||||||||||||
open_ratio
float |
Average number of times each opened message has been opened ( |
||||||||||||||||||||||||||||||||||||||||||||||||||||
unopened
integer |
Number of messages that were accepted and have not been opened. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
duplicate_opens
integer |
Number of non-unique opens. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
scomps_total
integer |
Number of spam complaints |
||||||||||||||||||||||||||||||||||||||||||||||||||||
scomps_unique
integer |
Number of unique spam complaints (unique by subscriber). |
||||||||||||||||||||||||||||||||||||||||||||||||||||
scomps_status_updated
integer |
Number of recipients where the status was updated to status
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
duplicate_scomps
integer |
Number of non-unique spam complaints. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
scomp_rate
float |
The ratio of messages that were accepted and complained.
This value ranges from We recommend using this statistic with great caution. Please read this article on why using a per-ISP complaint ratio is often better: https://www.greenarrowemail.com/blog/the-most-misunderstood-statistic-in-email-delivery |
||||||||||||||||||||||||||||||||||||||||||||||||||||
unsubs_total
integer |
Number of total unsubscribes |
||||||||||||||||||||||||||||||||||||||||||||||||||||
unsubs_unique
integer |
Number of unique unsubscribes (unique by subscriber) |
||||||||||||||||||||||||||||||||||||||||||||||||||||
unsubs_status_updated
integer |
Number of recipients where the status was updated to status
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
duplicate_unsubs
integer |
Number of non-unique unsubscribes. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
unsub_rate
float |
The ratio of messages that were accepted and unsubscribed.
This value ranges from |
||||||||||||||||||||||||||||||||||||||||||||||||||||
skips_error
integer |
Number of messages that were skipped due to a Special Sending Rule error. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
skips_request
integer |
Number of messages that were skipped due to a Special Sending Rule request. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
total_messages
integer |
Total number of messages injected for this autoresponder. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
total_success
integer |
Number of messages that were successfully delivered to the remote server. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
total_failure
integer |
Number of messages ended due to SMTP conversation failures. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
total_failure_toolong
integer |
Number of messages ended due to being in the queue too long. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
accepted
integer |
Total number of messages that were accepted by the remote server. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
accepted_rate
float |
Ratio of messages that were attempted and accepted ( |
||||||||||||||||||||||||||||||||||||||||||||||||||||
in_queue
integer |
Number of messages that are currently in GreenArrow Engine’s delivery queue. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
in_queue_rate
float |
Ratio of the total number of messages that have been handed off to GreenArrow Engine and are still in queue.
This value ranges from |
||||||||||||||||||||||||||||||||||||||||||||||||||||
max_unique_activities
integer |
The max value of |
||||||||||||||||||||||||||||||||||||||||||||||||||||
privacy_protection
These are statistics broken down between subscribers that used privacy protection features (such as iCloud+ Private Relay or Mail Privacy Protection) and those that did not.
|
Example
> GET /ga/api/v2/mailing_lists/1/autoresponders/1/statistics HTTP/1.1
> Authorization: Basic MTo1ZTk2NDY1Yzg4M2YzMzA5ZjAxMDVhMmUxMDc2NjMyYjY4N2U2MWQy
> User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5
> Host: greenarrow-studio.dev
> Accept: */*
>
< HTTP/1.1 200 OK
< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
< Pragma: no-cache
< Expires: Fri, 01 Jan 1990 00:00:00 GMT
< Content-Type: application/json; charset=utf-8
< X-UA-Compatible: IE=Edge
< Set-Cookie: _session_id=458055a23f26f844e74f8cd7300f6445; path=/; HttpOnly
< X-Request-Id: f6e40d578ed1d9c418cca45e1b7fe532
< X-Runtime: 0.025540
< Connection: close
{
"success": true,
"data": {
"sent_text": 0,
"sent_html": 1,
"sent_multipart": 0,
"bounces_total": 0,
"bounces_unique": 0,
"bounces_unique_hard": 0,
"bounces_unique_soft": 0,
"bounces_unique_other": 0,
"bounces_unique_local": 0,
"bounces_unique_remote": 0,
"clicks_total": 0,
"clicks_unique": 0,
"clicks_unique_by_link": 0,
"opens_total": 1,
"opens_unique": 1,
"scomps_total": 0,
"scomps_unique": 0,
"scomps_status_updated": 0,
"unsubs_total": 0,
"unsubs_unique": 0,
"unsubs_status_updated": 0,
"bounces_status_updated": 0,
"total_messages": 1,
"total_success": 1,
"total_failure": 0,
"total_failure_toolong": 0,
"skips_error": 0,
"skips_request": 0,
"bounces_unique_by_code": {
},
"messages_sent": 1,
"messages_html": 1,
"messages_text": 0,
"accepted": 1,
"accepted_rate": 1.0,
"in_queue": 0,
"in_queue_rate": 0.0,
"max_unique_activities": 1,
"open_rate": 1.0,
"open_ratio": 1.0,
"unopened": 0,
"duplicate_opens": 0,
"duplicate_clicks": 0,
"click_rate": 0.0,
"click_to_open_rate": 0.0,
"unclicked": 1,
"bounced": 0,
"duplicate_bounces": 0,
"unbounced": 1,
"bounce_rate": 0.0,
"bounce_rate_hard": 0.0,
"bounce_rate_soft": 0.0,
"bounce_rate_other": 0.0,
"bounce_local_rate": 0.0,
"duplicate_scomps": 0,
"scomp_rate": 0.0,
"duplicate_unsubs": 0,
"unsub_rate": 0.0,
"privacy_protection": {
"all_subscribers": {
"opens_unique": 1,
"opens_unique_rate": 1.0,
"opens_total": 1,
"privacy_opens_unique": 0,
"privacy_opens_unique_rate": 0.0,
"privacy_opens_total": 0,
"nonprivacy_opens_unique": 1,
"nonprivacy_opens_unique_rate": 1.0,
"nonprivacy_opens_total": 1,
"subscriber_count": 1
},
"privacy_subscribers": {
"opens_unique": 0,
"privacy_opens_unique": 0,
"privacy_opens_unique_rate": 0,
"privacy_opens_total": 0,
"nonprivacy_opens_unique": 0,
"nonprivacy_opens_unique_rate": 0,
"nonprivacy_opens_total": 0,
"subscriber_count": 0
},
"nonprivacy_subscribers": {
"opens_unique": 1,
"nonprivacy_opens_unique": 1,
"nonprivacy_opens_unique_rate": 1.0,
"nonprivacy_opens_total": 1,
"subscriber_count": 1
}
}
},
"error_code": null,
"error_message": null
}