{"id":24433,"date":"2024-10-09T22:49:30","date_gmt":"2024-10-09T22:49:30","guid":{"rendered":"https:\/\/www.gmass.co\/blog\/?p=24433"},"modified":"2026-02-13T19:07:47","modified_gmt":"2026-02-13T19:07:47","slug":"reports-api","status":"publish","type":"post","link":"https:\/\/www.gmass.co\/blog\/reports-api\/","title":{"rendered":"How to Pull Campaign Reporting Data Using the GMass API"},"content":{"rendered":"<p>Need to <strong>pull your GMass campaign reporting data<\/strong>\u00a0into another <strong>app<\/strong>\u00a0or a <strong>dashboard<\/strong>?<\/p>\n<p>Good news: It\u2019s a simple, straightforward process when you <a href=\"https:\/\/www.gmass.co\/blog\/gmass-api\/\">use the GMass API<\/a>.<\/p>\n<p>In this guide I\u2019ll build on the GMass API <a href=\"https:\/\/api.gmass.co\/docs\">docs<\/a>\u00a0and <strong>walk you through pulling full aggregated campaign reports or detailed individual metrics<\/strong>\u00a0using GMass API.<\/p>\n<h2 id=\"pulling-campaign-rep-vumn\">Pulling Campaign Reporting Data with the GMass API: Table of Contents<\/h2>\n<ul>\n<li><a href=\"#step-0-getting-your-iynd\">Step 0: Getting Your API Key and Authenticating Into the API<\/a><\/li>\n<li><a href=\"#option-1-pulling-all-ndon\">Option 1: Pulling All Aggregated Reporting Data for All Campaigns<\/a><\/li>\n<li><a href=\"#option-2-pulling-all-tinh\">Option 2: Pulling All Aggregated Reporting Data for a Single Campaign<\/a><\/li>\n<li id=\"step-0-getting-your-iynd\"><a href=\"#option-3-pulling-a-s-wxku\">Option 3: Pulling Detailed Data for a Specific Metric for a Single Campaign<\/a><\/li>\n<li><a href=\"#ready-to-retrieve-yo-iggw\">Ready to Retrieve Your Reports Using the GMass API?<\/a><\/li>\n<\/ul>\n<h2>Step 0: Getting Your API Key and Authenticating Into the API<\/h2>\n<p>As with any process involving the GMass API, the first step is <strong>generating or retrieving an API key<\/strong>.<\/p>\n<h3 id=\"generating-or-retrie-qibk\">Generating or retrieving your GMass API key<\/h3>\n<p>You can create a new key or grab an existing one from the GMass <a href=\"http:\/\/gmass.co\/dashboard\">dashboard<\/a>.<\/p>\n<p>Click the <strong>Settings<\/strong>\u00a0icon in the top right, then open the <strong>API Keys<\/strong>\u00a0section and click <strong>Manage API Keys<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-manageAPIkeys.png\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24357\" src=\"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-manageAPIkeys.png\" alt=\"The API keys section of the dashboard\" width=\"1999\" height=\"1140\" srcset=\"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-manageAPIkeys.png 1999w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-manageAPIkeys-300x171.png 300w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-manageAPIkeys-1024x584.png 1024w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-manageAPIkeys-768x438.png 768w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-manageAPIkeys-1536x876.png 1536w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-manageAPIkeys-24x14.png 24w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-manageAPIkeys-36x21.png 36w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-manageAPIkeys-48x27.png 48w\" sizes=\"auto, (max-width: 1999px) 100vw, 1999px\" \/><\/a><\/p>\n<p>Click on the <strong>Create a new API Key<\/strong>\u00a0button if you don\u2019t already have a key (or want to make a new one for this).<\/p>\n<p><a href=\"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-createkey.png\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24360\" src=\"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-createkey.png\" alt=\"Creating a new GMass API key\" width=\"1999\" height=\"789\" srcset=\"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-createkey.png 1999w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-createkey-300x118.png 300w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-createkey-1024x404.png 1024w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-createkey-768x303.png 768w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-createkey-1536x606.png 1536w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-createkey-24x9.png 24w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-createkey-36x14.png 36w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-createkey-48x19.png 48w\" sizes=\"auto, (max-width: 1999px) 100vw, 1999px\" \/><\/a><\/p>\n<p>Now click the <strong>clipboard icon<\/strong>\u00a0to copy the key. You can always come back to the dashboard to retrieve this key in the future.<\/p>\n<p><a href=\"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-copykey.png\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24358\" src=\"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-copykey.png\" alt=\"Copying your API key to the clipboard\" width=\"1999\" height=\"1046\" srcset=\"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-copykey.png 1999w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-copykey-300x157.png 300w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-copykey-1024x536.png 1024w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-copykey-768x402.png 768w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-copykey-1536x804.png 1536w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-copykey-24x13.png 24w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-copykey-36x19.png 36w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/08\/createsend-copykey-48x25.png 48w\" sizes=\"auto, (max-width: 1999px) 100vw, 1999px\" \/><\/a><\/p>\n<h3 id=\"authenticating-with-nbvu\">Authenticating with your API key<\/h3>\n<p>Now that you have your key handy, you have two ways you can use it to authenticate into the GMass API.<\/p>\n<p>You can include it in a <strong>query string<\/strong>\u00a0after you call any GMass API endpoint.<\/p>\n<p>The endpoints all start https:\/\/api.gmass.co\/api\/. So if you were retrieving the opens for a campaign, you would do https:\/\/api.gmass.co\/api\/reports\/342342332\/opens?apikey=f629a324-e31s-34234-23423. (The 342342332 is whatever your campaign ID is.)<\/p>\n<p>The other option for authenticating into the API is passing your key via a <strong>HTTP header<\/strong>, using X-apikey.<\/p>\n<p><em id=\"option-1-pulling-all-ndon\">For the demos in this article, I\u2019m using the <a href=\"https:\/\/api.gmass.co\/apihelp\/index#\/\">Swagger testing site<\/a> for the GMass API. You can use that site as well by pasting your API key into the top bar on that page.<\/em><\/p>\n<h2>Option 1: Pulling All Aggregated Reporting Data for All Campaigns<\/h2>\n<p>First up, I\u2019ll cover what to do if you want to <strong>get all of your reporting data for all of your campaigns<\/strong>.<\/p>\n<p>For that, we\u2019ll use the <strong>\/api\/campaigns endpoint<\/strong>. That will list all of your campaigns and their <strong>aggregated reporting data<\/strong>. (In other words: You&#8217;ll just see the numbers of things like opens, clicks, and replies \u2014 not more granular detail like who opened or what link they clicked on.)<\/p>\n<p>You don\u2019t need to use any parameters here (limit and offset are optional, though, if you don\u2019t want <em>all<\/em>\u00a0your campaigns).<\/p>\n<figure style=\"text-align: center;\"><a href=\"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-allcampaigns.png\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-allcampaigns.png\" alt=\"Getting all reporting data for all campaigns with the GMass API\" width=\"1830\" height=\"1999\" \/><\/a><\/figure>\n<p>If you have a large number of campaigns, this reponse <em>can<\/em>\u00a0take some time.<\/p>\n<p>You can use the optional parameters to cut down on that time:<\/p>\n<ul>\n<li id=\"option-2-pulling-all-tinh\"><strong>Limit<\/strong>\u00a0will, of course, <strong>limit the number of campaigns<\/strong>\u00a0GMass pulls to the <em>n<\/em>\u00a0most recent.<\/li>\n<li><strong>Offset<\/strong>\u00a0starts from further back (for instance, an offset of 5 would start pulling at the 6th most recent campaign).<\/li>\n<\/ul>\n<h2>Option 2: Pulling All Aggregated Reporting Data for a Single Campaign<\/h2>\n<p>Now let\u2019s say you <strong>only want to pull all the aggregated reporting data for a single campaign<\/strong>.<\/p>\n<p>While you could do that with the \/api\/campaigns endpoint using offset and limit, it\u2019s cleaner and often easier to use this technique.<\/p>\n<p>Here, we\u2019ll expand on the \/api\/campaigns method and make it <strong>\/api\/campaigns\/yourcampaignID<\/strong>.<\/p>\n<p>So, for example, let\u2019s say we wanted to pull the reporting data for campaign 43120372.<\/p>\n<p>(You can find campaign IDs in a wide variety of places, including the email GMass sends you for your campaign and the GMass dashboard. They\u2019re also available via the API using the \/api\/campaigns method \u2014 though that does feel somewhat circuitous since we\u2019re using this other process to <em>avoid<\/em>\u00a0listing out all our campaigns and stats).<\/p>\n<p>The result:<\/p>\n<p><a href=\"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-onecampaig-tinified.png\" data-rel=\"lightbox-image-4\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24438\" src=\"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-onecampaig-tinified.png\" alt=\"\" width=\"1996\" height=\"2324\" srcset=\"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-onecampaig-tinified.png 1996w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-onecampaig-tinified-258x300.png 258w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-onecampaig-tinified-879x1024.png 879w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-onecampaig-tinified-768x894.png 768w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-onecampaig-tinified-1319x1536.png 1319w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-onecampaig-tinified-1759x2048.png 1759w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-onecampaig-tinified-21x24.png 21w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-onecampaig-tinified-31x36.png 31w, https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-onecampaig-tinified-41x48.png 41w\" sizes=\"auto, (max-width: 1996px) 100vw, 1996px\" \/><\/a><\/p>\n<p>There are <strong id=\"option-3-pulling-a-s-wxku\">no optional parameters here<\/strong>; it\u2019s a straightforward pull of the reporting data (plus other campaign info like the email list, Google Sheet source, and auto follow-ups) for your single campaign.<\/p>\n<h2>Option 3: Pulling Detailed Data for a Specific Metric for a Single Campaign<\/h2>\n<p>Finally, rather than aggregated data, we&#8217;ll <strong>pull detailed data on one metric from one campaign<\/strong>.<\/p>\n<p>Here, we\u2019ll use the <strong>\/api\/reports endpoint<\/strong>, where you can retrieve the following:<\/p>\n<ul>\n<li>\/api\/reports\/yourcampaignID\/recipients &#8211; list <strong>all recipients<\/strong> of the campaign, including what time the email to each recipient went out and, if you&#8217;re using <a href=\"https:\/\/www.gmass.co\/blog\/multisend-distributed-campaigns\/\">MultiSend inbox rotation<\/a>, which sending account sent them the message.<\/li>\n<li>\/api\/reports\/yourcampaignID\/opens &#8211; <strong>open data<\/strong>\u00a0for the campaign <em>if you had open tracking turned on<\/em>, including the open count and last open time.<\/li>\n<li>\/api\/reports\/yourcampaignID\/clicks &#8211; <strong>click data<\/strong>\u00a0for the campaign <em>if you had click tracking turned on<\/em>, including the link they clicked on and the time they clicked.<\/li>\n<li>\/api\/reports\/yourcampaignID\/unsubscribes &#8211; <strong>unsubscribes <\/strong>for the campaign, including the time they unsubscribed.<\/li>\n<li>\/api\/reports\/yourcampaignID\/bounces &#8211; <strong>bounces<\/strong>\u00a0for the campaign<\/li>\n<li>\/api\/reports\/yourcampaignID\/blocks &#8211; <strong>blocks<\/strong>\u00a0for the campaign<\/li>\n<li>\/api\/reports\/yourcampaignID\/replies &#8211; <strong>reply data<\/strong> for the campaign, including what time they replied and the MultiSend sender.<\/li>\n<\/ul>\n<p>Here\u2019s an example of what the API returns for <strong>\/recipients<\/strong>:<\/p>\n<figure style=\"text-align: center;\"><a href=\"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-recipients.png\" data-rel=\"lightbox-image-5\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-recipients.png\" alt=\"Getting recipients data for a single campaign\" width=\"1557\" height=\"1999\" \/><\/a><\/figure>\n<p>And here\u2019s an example of <strong>\/replies<\/strong>. GMass will return everyone who replied (so in my case here, there were two replies to the campaign and they\u2019re both listed):<\/p>\n<figure style=\"text-align: center;\"><a href=\"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-replies.png\" data-rel=\"lightbox-image-6\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-replies.png\" alt=\"Getting reply data for a single campaign\" width=\"1634\" height=\"1999\" \/><\/a><\/figure>\n<p>There are some <strong id=\"ready-to-retrieve-yo-iggw\">optional parameters<\/strong>\u00a0here as well.<\/p>\n<p>For the \/recipients endpoint, you can specify a limit, offset, stage (if you want to see data for an auto follow-up stage), or date.<\/p>\n<p>For the other endpoints, you can specify a limit and offset.<\/p>\n<h2>Ready to Retrieve Your Reports Using the GMass API?<\/h2>\n<p><strong>That\u2019s all you\u2019ll need to do<\/strong>\u00a0to retrieve reports from all or one of your campaigns using the GMass API.<\/p>\n<ul>\n<li>To get <strong>all aggregated reports from all campaigns<\/strong>, use the \/api\/campaigns endpoint.<\/li>\n<li>To get <strong>full aggregated reporting from a single campaign<\/strong>, append the campaign ID there and use \/api\/campaigns\/yourcampaignID<\/li>\n<li>And to get<strong> detailed data from a single metric from a single campaign<\/strong>, use the \/api\/reports\/yourcampaignID\/opens (et. al.) endpoint.<\/li>\n<\/ul>\n<p>If you\u2019re <strong>ready to start using the GMass API<\/strong>\u00a0to send campaigns, send transactional emails, get reports, and do a whole lot more, good news.<\/p>\n<p>The <strong>API is included in GMass\u2019s Premium, Professional, and Team plans<\/strong>. You can check those out on the GMass <a href=\"https:\/\/www.gmass.co\/pricing\">pricing<\/a>\u00a0page.<\/p>\n<p>And with all of those plans <strong>you can also use GMass inside of Gmail<\/strong>, sending campaigns just like you send normal emails.<\/p>\n<p>Join the <strong>400,000+ others<\/strong>\u00a0who use and love GMass (we have a <strong>4.8\/5 star rating<\/strong>\u00a0after 10,000+ reviews).<\/p>\n<p>Send <strong>unlimited emails<\/strong>, see why 99% of people report the <strong>best deliverability they\u2019ve ever had<\/strong>, and a ton more.<\/p>\n<p><strong>GMass is free to try<\/strong>, with <strong>no credit card required<\/strong>. You can get started by <a href=\"https:\/\/chrome.google.com\/webstore\/detail\/gmass-powerful-mail-merge\/ehomdgjhgmbidokdgicgmdiedadncbgf\">downloading the GMass Chrome extension<\/a>\u00a0and you\u2019ll be <strong>up and running in minutes<\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Need to pull your GMass campaign reporting data\u00a0into another app\u00a0or a dashboard? Good news: It\u2019s a simple, straightforward process when you use the GMass API. In this guide\u2026<\/p>\n","protected":false},"author":29,"featured_media":24436,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[4267,9152],"tags":[],"class_list":["post-24433","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-analytics","category-api"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\r\n<title>How to Pull Campaign Reporting Data Using the GMass API<\/title>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/www.gmass.co\/blog\/reports-api\/\" \/>\r\n<meta property=\"og:locale\" content=\"en_US\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"How to Pull Campaign Reporting Data Using the GMass API\" \/>\r\n<meta property=\"og:description\" content=\"Need to pull your GMass campaign reporting data\u00a0into another app\u00a0or a dashboard? Good news: It\u2019s a simple, straightforward process when you use the GMass API. In this guide\u2026\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/www.gmass.co\/blog\/reports-api\/\" \/>\r\n<meta property=\"og:site_name\" content=\"GMass Blog\" \/>\r\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/GmailMailMerge\/\" \/>\r\n<meta property=\"article:published_time\" content=\"2024-10-09T22:49:30+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2026-02-13T19:07:47+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-feat2-tinified.png\" \/>\r\n\t<meta property=\"og:image:width\" content=\"2002\" \/>\r\n\t<meta property=\"og:image:height\" content=\"934\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\r\n<meta name=\"author\" content=\"Sam Greenspan\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:creator\" content=\"@GMassForGmail\" \/>\r\n<meta name=\"twitter:site\" content=\"@GMassForGmail\" \/>\r\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sam Greenspan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/reports-api\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/reports-api\\\/\"},\"author\":{\"name\":\"Sam Greenspan\",\"@id\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/#\\\/schema\\\/person\\\/de82c1ac2f78713b569bb57bfb313c98\"},\"headline\":\"How to Pull Campaign Reporting Data Using the GMass API\",\"datePublished\":\"2024-10-09T22:49:30+00:00\",\"dateModified\":\"2026-02-13T19:07:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/reports-api\\\/\"},\"wordCount\":1207,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/reports-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/apireports-feat2-tinified.png\",\"articleSection\":[\"Analytics\",\"API\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.gmass.co\\\/blog\\\/reports-api\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/reports-api\\\/\",\"url\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/reports-api\\\/\",\"name\":\"How to Pull Campaign Reporting Data Using the GMass API\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/reports-api\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/reports-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/apireports-feat2-tinified.png\",\"datePublished\":\"2024-10-09T22:49:30+00:00\",\"dateModified\":\"2026-02-13T19:07:47+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/#\\\/schema\\\/person\\\/de82c1ac2f78713b569bb57bfb313c98\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/reports-api\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.gmass.co\\\/blog\\\/reports-api\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/reports-api\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/apireports-feat2-tinified.png\",\"contentUrl\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/apireports-feat2-tinified.png\",\"width\":2002,\"height\":934},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/reports-api\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Pull Campaign Reporting Data Using the GMass API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/\",\"name\":\"GMass Blog\",\"description\":\"Tips and tricks for sending mail merge and mass email campaigns directly from Gmail\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/#\\\/schema\\\/person\\\/de82c1ac2f78713b569bb57bfb313c98\",\"name\":\"Sam Greenspan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/544dc4a3d6b96b537586cdde9d818feb8f0de187faed221fdb0dee3a356bf41a?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/544dc4a3d6b96b537586cdde9d818feb8f0de187faed221fdb0dee3a356bf41a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/544dc4a3d6b96b537586cdde9d818feb8f0de187faed221fdb0dee3a356bf41a?s=96&d=mm&r=g\",\"caption\":\"Sam Greenspan\"},\"url\":\"https:\\\/\\\/www.gmass.co\\\/blog\\\/author\\\/sam_greenspan\\\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Pull Campaign Reporting Data Using the GMass API","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.gmass.co\/blog\/reports-api\/","og_locale":"en_US","og_type":"article","og_title":"How to Pull Campaign Reporting Data Using the GMass API","og_description":"Need to pull your GMass campaign reporting data\u00a0into another app\u00a0or a dashboard? Good news: It\u2019s a simple, straightforward process when you use the GMass API. In this guide\u2026","og_url":"https:\/\/www.gmass.co\/blog\/reports-api\/","og_site_name":"GMass Blog","article_publisher":"https:\/\/www.facebook.com\/GmailMailMerge\/","article_published_time":"2024-10-09T22:49:30+00:00","article_modified_time":"2026-02-13T19:07:47+00:00","og_image":[{"width":2002,"height":934,"url":"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-feat2-tinified.png","type":"image\/png"}],"author":"Sam Greenspan","twitter_card":"summary_large_image","twitter_creator":"@GMassForGmail","twitter_site":"@GMassForGmail","twitter_misc":{"Written by":"Sam Greenspan","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.gmass.co\/blog\/reports-api\/#article","isPartOf":{"@id":"https:\/\/www.gmass.co\/blog\/reports-api\/"},"author":{"name":"Sam Greenspan","@id":"https:\/\/www.gmass.co\/blog\/#\/schema\/person\/de82c1ac2f78713b569bb57bfb313c98"},"headline":"How to Pull Campaign Reporting Data Using the GMass API","datePublished":"2024-10-09T22:49:30+00:00","dateModified":"2026-02-13T19:07:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.gmass.co\/blog\/reports-api\/"},"wordCount":1207,"commentCount":0,"image":{"@id":"https:\/\/www.gmass.co\/blog\/reports-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-feat2-tinified.png","articleSection":["Analytics","API"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.gmass.co\/blog\/reports-api\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.gmass.co\/blog\/reports-api\/","url":"https:\/\/www.gmass.co\/blog\/reports-api\/","name":"How to Pull Campaign Reporting Data Using the GMass API","isPartOf":{"@id":"https:\/\/www.gmass.co\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.gmass.co\/blog\/reports-api\/#primaryimage"},"image":{"@id":"https:\/\/www.gmass.co\/blog\/reports-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-feat2-tinified.png","datePublished":"2024-10-09T22:49:30+00:00","dateModified":"2026-02-13T19:07:47+00:00","author":{"@id":"https:\/\/www.gmass.co\/blog\/#\/schema\/person\/de82c1ac2f78713b569bb57bfb313c98"},"breadcrumb":{"@id":"https:\/\/www.gmass.co\/blog\/reports-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.gmass.co\/blog\/reports-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.gmass.co\/blog\/reports-api\/#primaryimage","url":"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-feat2-tinified.png","contentUrl":"https:\/\/www.gmass.co\/blog\/wp-content\/uploads\/2024\/10\/apireports-feat2-tinified.png","width":2002,"height":934},{"@type":"BreadcrumbList","@id":"https:\/\/www.gmass.co\/blog\/reports-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.gmass.co\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Pull Campaign Reporting Data Using the GMass API"}]},{"@type":"WebSite","@id":"https:\/\/www.gmass.co\/blog\/#website","url":"https:\/\/www.gmass.co\/blog\/","name":"GMass Blog","description":"Tips and tricks for sending mail merge and mass email campaigns directly from Gmail","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.gmass.co\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.gmass.co\/blog\/#\/schema\/person\/de82c1ac2f78713b569bb57bfb313c98","name":"Sam Greenspan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/544dc4a3d6b96b537586cdde9d818feb8f0de187faed221fdb0dee3a356bf41a?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/544dc4a3d6b96b537586cdde9d818feb8f0de187faed221fdb0dee3a356bf41a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/544dc4a3d6b96b537586cdde9d818feb8f0de187faed221fdb0dee3a356bf41a?s=96&d=mm&r=g","caption":"Sam Greenspan"},"url":"https:\/\/www.gmass.co\/blog\/author\/sam_greenspan\/"}]}},"_links":{"self":[{"href":"https:\/\/www.gmass.co\/blog\/wp-json\/wp\/v2\/posts\/24433","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gmass.co\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gmass.co\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gmass.co\/blog\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gmass.co\/blog\/wp-json\/wp\/v2\/comments?post=24433"}],"version-history":[{"count":5,"href":"https:\/\/www.gmass.co\/blog\/wp-json\/wp\/v2\/posts\/24433\/revisions"}],"predecessor-version":[{"id":26028,"href":"https:\/\/www.gmass.co\/blog\/wp-json\/wp\/v2\/posts\/24433\/revisions\/26028"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.gmass.co\/blog\/wp-json\/wp\/v2\/media\/24436"}],"wp:attachment":[{"href":"https:\/\/www.gmass.co\/blog\/wp-json\/wp\/v2\/media?parent=24433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gmass.co\/blog\/wp-json\/wp\/v2\/categories?post=24433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gmass.co\/blog\/wp-json\/wp\/v2\/tags?post=24433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}