{"id":576,"date":"2018-08-02T22:20:05","date_gmt":"2018-08-02T21:20:05","guid":{"rendered":"http:\/\/www.earlyparrot.com\/support\/?post_type=kbe_knowledgebase&#038;p=576"},"modified":"2018-08-02T22:23:46","modified_gmt":"2018-08-02T21:23:46","slug":"earlyparrot-api-how-to-get-referral-code-referral-url-for-any-subscriber","status":"publish","type":"kbe_knowledgebase","link":"https:\/\/www.earlyparrot.com\/support\/kb\/earlyparrot-api-how-to-get-referral-code-referral-url-for-any-subscriber\/","title":{"rendered":"EarlyParrot API &#8211; How to get Referral Code &#038; Referral URL for any subscriber"},"content":{"rendered":"<p>You are able to retrieve the unique Referral Code for any email address that is subscribed to your campaign. The referral code uniquely distinguishes referrers from each other.<\/p>\n<p><strong>Method:<\/strong> GET<\/p>\n<p><strong>URL:\u00a0<\/strong>https:\/\/admin.earlyparrot.com\/api\/share\/[YOUR_CAMPAIGN_ID]\/referral\/getReferralUrlForEmail?email=johnsmith%40gmail.com<\/p>\n<p>Please note that email must be encoded<\/p>\n<p>If the email is a subscriber, you will get the following JSON response:<\/p>\n<pre>{\r\n  hashId: \"wzkfxAjaWV\",\r\n  referralUrl: \"http:\/\/SHAREPAGE_URL\/?rh=wzkfxAjaWV\"\r\n}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>You are able to retrieve the unique Referral Code for any email address that is subscribed to your campaign. The referral code uniquely distinguishes referrers from each other. Method: GET URL:\u00a0https:\/\/admin.earlyparrot.com\/api\/share\/[YOUR_CAMPAIGN_ID]\/referral\/getReferralUrlForEmail?email=johnsmith%40gmail.com Please note that email must be encoded If the email is a subscriber, you will get the following JSON response: { hashId: &#8220;wzkfxAjaWV&#8221;, referralUrl: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","kbe_taxonomy":[12,13],"kbe_tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>EarlyParrot API - How to get Referral Code &amp; Referral URL for any subscriber<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.earlyparrot.com\/support\/kb\/earlyparrot-api-how-to-get-referral-code-referral-url-for-any-subscriber\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"EarlyParrot API - How to get Referral Code &amp; Referral URL for any subscriber\" \/>\n<meta property=\"og:description\" content=\"You are able to retrieve the unique Referral Code for any email address that is subscribed to your campaign. The referral code uniquely distinguishes referrers from each other. Method: GET URL:\u00a0https:\/\/admin.earlyparrot.com\/api\/share\/[YOUR_CAMPAIGN_ID]\/referral\/getReferralUrlForEmail?email=johnsmith%40gmail.com Please note that email must be encoded If the email is a subscriber, you will get the following JSON response: { hashId: &quot;wzkfxAjaWV&quot;, referralUrl: [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.earlyparrot.com\/support\/kb\/earlyparrot-api-how-to-get-referral-code-referral-url-for-any-subscriber\/\" \/>\n<meta property=\"og:site_name\" content=\"EarlyParrot Support\" \/>\n<meta property=\"article:modified_time\" content=\"2018-08-02T21:23:46+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.earlyparrot.com\/support\/#organization\",\"name\":\"EarlyParrot\",\"url\":\"https:\/\/www.earlyparrot.com\/support\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.earlyparrot.com\/support\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/www.earlyparrot.com\/support\/wp-content\/uploads\/2022\/02\/parrot.png\",\"contentUrl\":\"https:\/\/www.earlyparrot.com\/support\/wp-content\/uploads\/2022\/02\/parrot.png\",\"width\":1500,\"height\":1774,\"caption\":\"EarlyParrot\"},\"image\":{\"@id\":\"https:\/\/www.earlyparrot.com\/support\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.earlyparrot.com\/support\/#website\",\"url\":\"https:\/\/www.earlyparrot.com\/support\/\",\"name\":\"EarlyParrot Support\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.earlyparrot.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.earlyparrot.com\/support\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.earlyparrot.com\/support\/kb\/earlyparrot-api-how-to-get-referral-code-referral-url-for-any-subscriber\/#webpage\",\"url\":\"https:\/\/www.earlyparrot.com\/support\/kb\/earlyparrot-api-how-to-get-referral-code-referral-url-for-any-subscriber\/\",\"name\":\"EarlyParrot API - How to get Referral Code & Referral URL for any subscriber\",\"isPartOf\":{\"@id\":\"https:\/\/www.earlyparrot.com\/support\/#website\"},\"datePublished\":\"2018-08-02T21:20:05+00:00\",\"dateModified\":\"2018-08-02T21:23:46+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.earlyparrot.com\/support\/kb\/earlyparrot-api-how-to-get-referral-code-referral-url-for-any-subscriber\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.earlyparrot.com\/support\/kb\/earlyparrot-api-how-to-get-referral-code-referral-url-for-any-subscriber\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.earlyparrot.com\/support\/kb\/earlyparrot-api-how-to-get-referral-code-referral-url-for-any-subscriber\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.earlyparrot.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledgebase\",\"item\":\"https:\/\/www.earlyparrot.com\/support\/kb\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"EarlyParrot API &#8211; How to get Referral Code &#038; Referral URL for any subscriber\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"EarlyParrot API - How to get Referral Code & Referral URL for any subscriber","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.earlyparrot.com\/support\/kb\/earlyparrot-api-how-to-get-referral-code-referral-url-for-any-subscriber\/","og_locale":"en_US","og_type":"article","og_title":"EarlyParrot API - How to get Referral Code & Referral URL for any subscriber","og_description":"You are able to retrieve the unique Referral Code for any email address that is subscribed to your campaign. The referral code uniquely distinguishes referrers from each other. Method: GET URL:\u00a0https:\/\/admin.earlyparrot.com\/api\/share\/[YOUR_CAMPAIGN_ID]\/referral\/getReferralUrlForEmail?email=johnsmith%40gmail.com Please note that email must be encoded If the email is a subscriber, you will get the following JSON response: { hashId: \"wzkfxAjaWV\", referralUrl: [&hellip;]","og_url":"https:\/\/www.earlyparrot.com\/support\/kb\/earlyparrot-api-how-to-get-referral-code-referral-url-for-any-subscriber\/","og_site_name":"EarlyParrot Support","article_modified_time":"2018-08-02T21:23:46+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/www.earlyparrot.com\/support\/#organization","name":"EarlyParrot","url":"https:\/\/www.earlyparrot.com\/support\/","sameAs":[],"logo":{"@type":"ImageObject","@id":"https:\/\/www.earlyparrot.com\/support\/#logo","inLanguage":"en-US","url":"https:\/\/www.earlyparrot.com\/support\/wp-content\/uploads\/2022\/02\/parrot.png","contentUrl":"https:\/\/www.earlyparrot.com\/support\/wp-content\/uploads\/2022\/02\/parrot.png","width":1500,"height":1774,"caption":"EarlyParrot"},"image":{"@id":"https:\/\/www.earlyparrot.com\/support\/#logo"}},{"@type":"WebSite","@id":"https:\/\/www.earlyparrot.com\/support\/#website","url":"https:\/\/www.earlyparrot.com\/support\/","name":"EarlyParrot Support","description":"","publisher":{"@id":"https:\/\/www.earlyparrot.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.earlyparrot.com\/support\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.earlyparrot.com\/support\/kb\/earlyparrot-api-how-to-get-referral-code-referral-url-for-any-subscriber\/#webpage","url":"https:\/\/www.earlyparrot.com\/support\/kb\/earlyparrot-api-how-to-get-referral-code-referral-url-for-any-subscriber\/","name":"EarlyParrot API - How to get Referral Code & Referral URL for any subscriber","isPartOf":{"@id":"https:\/\/www.earlyparrot.com\/support\/#website"},"datePublished":"2018-08-02T21:20:05+00:00","dateModified":"2018-08-02T21:23:46+00:00","breadcrumb":{"@id":"https:\/\/www.earlyparrot.com\/support\/kb\/earlyparrot-api-how-to-get-referral-code-referral-url-for-any-subscriber\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.earlyparrot.com\/support\/kb\/earlyparrot-api-how-to-get-referral-code-referral-url-for-any-subscriber\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.earlyparrot.com\/support\/kb\/earlyparrot-api-how-to-get-referral-code-referral-url-for-any-subscriber\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.earlyparrot.com\/support\/"},{"@type":"ListItem","position":2,"name":"Knowledgebase","item":"https:\/\/www.earlyparrot.com\/support\/kb\/"},{"@type":"ListItem","position":3,"name":"EarlyParrot API &#8211; How to get Referral Code &#038; Referral URL for any subscriber"}]}]}},"_links":{"self":[{"href":"https:\/\/www.earlyparrot.com\/support\/wp-json\/wp\/v2\/kbe_knowledgebase\/576"}],"collection":[{"href":"https:\/\/www.earlyparrot.com\/support\/wp-json\/wp\/v2\/kbe_knowledgebase"}],"about":[{"href":"https:\/\/www.earlyparrot.com\/support\/wp-json\/wp\/v2\/types\/kbe_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/www.earlyparrot.com\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.earlyparrot.com\/support\/wp-json\/wp\/v2\/comments?post=576"}],"version-history":[{"count":3,"href":"https:\/\/www.earlyparrot.com\/support\/wp-json\/wp\/v2\/kbe_knowledgebase\/576\/revisions"}],"predecessor-version":[{"id":579,"href":"https:\/\/www.earlyparrot.com\/support\/wp-json\/wp\/v2\/kbe_knowledgebase\/576\/revisions\/579"}],"wp:attachment":[{"href":"https:\/\/www.earlyparrot.com\/support\/wp-json\/wp\/v2\/media?parent=576"}],"wp:term":[{"taxonomy":"kbe_taxonomy","embeddable":true,"href":"https:\/\/www.earlyparrot.com\/support\/wp-json\/wp\/v2\/kbe_taxonomy?post=576"},{"taxonomy":"kbe_tags","embeddable":true,"href":"https:\/\/www.earlyparrot.com\/support\/wp-json\/wp\/v2\/kbe_tags?post=576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}