Sent To

Get details about campaign recipients.

Available methods

    • GET /reports/{campaign_id}/sent-to Get information about campaign recipients
      GET /reports/{campaign_id}/sent-to/{subscriber_hash} Get information about a specific campaign recipient

      Get information about campaign recipients

      GET /reports/{campaign_id}/sent-to

      Get information about campaign recipients.

      Path parameters

      campaign_id The unique id for the campaign.

      Query string parameters

      fields Type: Array Title: Fields Read only: false A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
      exclude_fields Type: Array Title: Exclude Fields Read only: false A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
      count Type: Integer Title: Count Read only: true The number of records to return. Default value is 10.
      offset Type: Integer Title: Offset Read only: false The number of records from a collection to skip. Iterating over large collections with this parameter can be slow. Default value is 0.

      Response body parameters

      sent_to Type: Array Title: Sent To Read only: false An array of objects, each representing a campaign recipient.
      Show properties
      email_id Type: String Title: Email Hash Read only: true The MD5 hash of the lowercase version of the list member’s email address.
      email_address Type: String Title: Email Address Read only: true Email address for a subscriber.
      merge_fields Type: Object Title: Member Merge Var Read only: true An individual merge var and value for a member.
      vip Type: Boolean Title: VIP Read only: true VIP status for subscriber.
      status Type: String Title: Member Status Read only: false The status of the member (‘sent’, ‘hard’ for hard bounce, or ‘soft’ for soft bounce).
      open_count Type: Integer Title: Open Count Read only: false The number of times a campaign was opened by this member.
      last_open Type: String Title: Last Open Read only: false The date and time of the last open for this member.
      absplit_group Type: String Title: A/B Split Group Read only: false For A/B Split Campaigns, the group the member was apart of (‘a’, ‘b’, or ‘winner’).
      gmt_offset Type: Integer Title: GMT Offset Read only: false For campaigns sent with timewarp, the time zone group the member is apart of.
      campaign_id Type: String Title: Campaign ID Read only: true The campaign id.
      list_id Type: String Title: List ID Read only: true The list id.
      _links Type: Array Title: Links Read only: true A list of link types and descriptions for the API schema documents.
      Show properties
      rel Type: String Title: Rel Read only: true As with an HTML ‘rel’ attribute, this describes the type of link.
      href Type: String Title: Href Read only: true This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action.
      method Type: String Title: Method Read only: true The HTTP method that should be used when accessing the URL defined in ‘href’.
      Possible Values:
      • GET
      • POST
      • PUT
      • PATCH
      • DELETE
      • OPTIONS
      • HEAD
      targetSchema Type: String Title: Target Schema Read only: true For GETs, this is a URL representing the schema that the response should conform to.
      schema Type: String Title: Schema Read only: true For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to.
      campaign_id Type: String Title: Campaign ID Read only: true The campaign id.
      total_items Type: Integer Title: Item Count Read only: false The total number of items matching the query regardless of pagination.
      _links Type: Array Title: Links Read only: true A list of link types and descriptions for the API schema documents.
      Show properties
      rel Type: String Title: Rel Read only: true As with an HTML ‘rel’ attribute, this describes the type of link.
      href Type: String Title: Href Read only: true This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action.
      method Type: String Title: Method Read only: true The HTTP method that should be used when accessing the URL defined in ‘href’.
      Possible Values:
      • GET
      • POST
      • PUT
      • PATCH
      • DELETE
      • OPTIONS
      • HEAD
      targetSchema Type: String Title: Target Schema Read only: true For GETs, this is a URL representing the schema that the response should conform to.
      schema Type: String Title: Schema Read only: true For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to.

      Example request

      
      curl --request GET \
      --url 'https://usX.api.mailchimp.com/3.0/reports/42694e9e57/sent-to' \
      --user 'anystring:apikey' \
      --include
                                      

      Example response

      
      HTTP/1.1 200 OK
      Server: nginx
      Content-Type: application/json; charset=utf-8
      Content-Length: 1306
      Vary: Accept-Encoding
      X-Request-Id: 4f4c2b04-9ed5-4c61-91e5-efc72c8e9986
      Link: <https://api.mailchimp.com/schema/3.0/Reports/SentTo/Collection.json>; rel="describedBy"
      Date: Thu, 17 Sep 2015 17:25:12 GMT
      Connection: keep-alive
      
      
      {
        "sent_to": [
          {
            "email_id": "62eeb292278cc15f5817cb78f7790b08",
            "email_address": "urist.mcvankab@freddiesjokes.com",
            "status": "sent",
            "open_count": 1,
            "last_open": "2015-09-15 19:15:47",
            "absplit_group": "",
            "gmt_offset": 0,
            "campaign_id": "42694e9e57",
            "list_id": "57afe96172",
            "_links": [
              {
                "rel": "parent",
                "href": "https://usX.api.mailchimp.com/3.0/reports/42694e9e57/sent-to",
                "method": "GET",
                "targetSchema": "https://api.mailchimp.com/schema/3.0/Reports/SentTo/Collection.json"
              },
              {
                "rel": "self",
                "href": "https://usX.api.mailchimp.com/3.0/reports/42694e9e57/sent-to/62eeb292278cc15f5817cb78f7790b08",
                "method": "GET",
                "targetSchema": "https://api.mailchimp.com/schema/3.0/Reports/SentTo/Instance.json"
              },
              {
                "rel": "member",
                "href": "https://usX.api.mailchimp.com/3.0/lists/57afe96172/members/62eeb292278cc15f5817cb78f7790b08",
                "method": "GET",
                "targetSchema": "https://api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"
              }
            ]
          }
        ],
        "campaign_id": "42694e9e57",
        "_links": [
          {
            "rel": "parent",
            "href": "https://usX.api.mailchimp.com/3.0/reports/42694e9e57",
            "method": "GET",
            "targetSchema": "https://api.mailchimp.com/schema/3.0/Reports/Instance.json"
          },
          {
            "rel": "self",
            "href": "https://usX.api.mailchimp.com/3.0/reports/42694e9e57/sent-to",
            "method": "GET",
            "targetSchema": "https://api.mailchimp.com/schema/3.0/Reports/SentTo/Collection.json"
          }
        ],
        "total_items": 1
      }
                                      

      Error response

      type Type: String Title: Problem Type Read only: false An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type.
      title Type: String Title: Error Title Read only: false A short, human-readable summary of the problem type. It shouldn’t change based on the occurrence of the problem, except for purposes of localization.
      status Type: Integer Title: HTTP Status Code Read only: false The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem.
      detail Type: String Title: Error Message Read only: false A human-readable explanation specific to this occurrence of the problem. Learn more about errors.
      instance Type: String Title: Instance ID Read only: false A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support.

      Get information about a specific campaign recipient

      GET /reports/{campaign_id}/sent-to/{subscriber_hash}

      Get information about a specific campaign recipient.

      Path parameters

      campaign_id The unique id for the campaign.
      subscriber_hash The MD5 hash of the lowercase version of the list member’s email address.

      Query string parameters

      fields Type: Array Title: Fields Read only: false A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
      exclude_fields Type: Array Title: Exclude Fields Read only: false A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.

      Response body parameters

      email_id Type: String Title: Email Hash Read only: true The MD5 hash of the lowercase version of the list member’s email address.
      email_address Type: String Title: Email Address Read only: true Email address for a subscriber.
      merge_fields Type: Object Title: Member Merge Var Read only: true An individual merge var and value for a member.
      vip Type: Boolean Title: VIP Read only: true VIP status for subscriber.
      status Type: String Title: Member Status Read only: false The status of the member (‘sent’, ‘hard’ for hard bounce, or ‘soft’ for soft bounce).
      open_count Type: Integer Title: Open Count Read only: false The number of times a campaign was opened by this member.
      last_open Type: String Title: Last Open Read only: false The date and time of the last open for this member.
      absplit_group Type: String Title: A/B Split Group Read only: false For A/B Split Campaigns, the group the member was apart of (‘a’, ‘b’, or ‘winner’).
      gmt_offset Type: Integer Title: GMT Offset Read only: false For campaigns sent with timewarp, the time zone group the member is apart of.
      campaign_id Type: String Title: Campaign ID Read only: true The campaign id.
      list_id Type: String Title: List ID Read only: true The list id.
      _links Type: Array Title: Links Read only: true A list of link types and descriptions for the API schema documents.
      Show properties
      rel Type: String Title: Rel Read only: true As with an HTML ‘rel’ attribute, this describes the type of link.
      href Type: String Title: Href Read only: true This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action.
      method Type: String Title: Method Read only: true The HTTP method that should be used when accessing the URL defined in ‘href’.
      Possible Values:
      • GET
      • POST
      • PUT
      • PATCH
      • DELETE
      • OPTIONS
      • HEAD
      targetSchema Type: String Title: Target Schema Read only: true For GETs, this is a URL representing the schema that the response should conform to.
      schema Type: String Title: Schema Read only: true For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to.

      Example request

      
      curl --request GET \
      --url 'https://usX.api.mailchimp.com/3.0/reports/42694e9e57/sent-to/62eeb292278cc15f5817cb78f7790b08' \
      --user 'anystring:apikey' \
      --include
                                      

      Example response

      
      HTTP/1.1 200 OK
      Server: nginx
      Content-Type: application/json; charset=utf-8
      Content-Length: 875
      Vary: Accept-Encoding
      X-Request-Id: 8da2762d-4e10-4587-9c8a-3fce48bb8f43
      Link: <https://api.mailchimp.com/schema/3.0/Reports/SentTo/Instance.json>; rel="describedBy"
      Date: Thu, 17 Sep 2015 17:27:30 GMT
      Connection: keep-alive
      
      
      {
        "email_id": "62eeb292278cc15f5817cb78f7790b08",
        "email_address": "urist.mcvankab@freddiesjokes.com",
        "status": "sent",
        "open_count": 1,
        "last_open": "2015-09-15 19:15:47",
        "absplit_group": "",
        "gmt_offset": 0,
        "campaign_id": "42694e9e57",
        "list_id": "57afe96172",
        "_links": [
          {
            "rel": "parent",
            "href": "https://usX.api.mailchimp.com/3.0/reports/42694e9e57/sent-to",
            "method": "GET",
            "targetSchema": "https://api.mailchimp.com/schema/3.0/Reports/SentTo/Collection.json"
          },
          {
            "rel": "self",
            "href": "https://usX.api.mailchimp.com/3.0/reports/42694e9e57/sent-to/62eeb292278cc15f5817cb78f7790b08",
            "method": "GET",
            "targetSchema": "https://api.mailchimp.com/schema/3.0/Reports/SentTo/Instance.json"
          },
          {
            "rel": "member",
            "href": "https://usX.api.mailchimp.com/3.0/lists/57afe96172/members/62eeb292278cc15f5817cb78f7790b08",
            "method": "GET",
            "targetSchema": "https://api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"
          }
        ]
      }
                                      

      Error response

      type Type: String Title: Problem Type Read only: false An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type.
      title Type: String Title: Error Title Read only: false A short, human-readable summary of the problem type. It shouldn’t change based on the occurrence of the problem, except for purposes of localization.
      status Type: Integer Title: HTTP Status Code Read only: false The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem.
      detail Type: String Title: Error Message Read only: false A human-readable explanation specific to this occurrence of the problem. Learn more about errors.
      instance Type: String Title: Instance ID Read only: false A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support.