{"collection":{"info":{"_postman_id":"faa7d699-ec23-4fc3-a43a-3895bbff8872","name":"Mobile APIs","description":"The ReferralHero API is organized around [REST](http://en.wikipedia.org/wiki/Representational_State_Transfer). Our API has predictable, resource-oriented URLs. [JSON](http://www.json.org/) is returned by all API responses, including errors.\n\nThis collection involves connecting a React Native app with external APIs to fetch or send data, enabling features like **adding subscribers, updating subscribers, and tracking referrals**.\n\n### Base URL\n\n[https://app.referralhero.com/api/sdk/v1/](https://app.referralhero.com/api/sdk/v1/)\n\n### Request Headers\n\n1. Authorization - Your access token\n    \n2. Accept - `application/vnd.referralhero.v1`\n    \n3. Content-Type - `application/json`","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","createdAt":"2025-02-18T15:38:15.000Z","updatedAt":"2025-02-19T11:47:25.000Z","lastUpdatedBy":"38599485","uid":"38599485-faa7d699-ec23-4fc3-a43a-3895bbff8872"},"item":[{"name":"Create subscriber","event":[{"listen":"prerequest","script":{"id":"04ecb9d8-0bad-42a0-9458-cd22eab1a11e","exec":["try {","    const response = await pm.sendRequest({","        url: \"https://postman-echo.com/get\",","        method: \"GET\"","    });","","    console.log(response.json());","} catch (err) {","    console.error(err);","}"],"type":"text/javascript","packages":{}}}],"id":"5e98e783-1024-4177-8e1c-17effaa721fa","protocolProfileBehavior":{"disableBodyPruning":true,"disableUrlEncoding":false},"request":{"auth":{"type":"noauth"},"method":"POST","header":[{"key":"Accept","value":"application/vnd.referralhero.v1","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"url":{"raw":"https://app.referralhero.com/api/sdk/v1/lists/{{uuid}}/subscribers","protocol":"https","host":["app","referralhero","com"],"path":["api","sdk","v1","lists","{{uuid}}","subscribers"],"query":[{"key":"name","value":"sub1","description":"The name of the subscriber","disabled":true},{"key":"email","value":"sub41@rh.com","description":"The email of the subscriber. (Required if email is the unique identifier for the campaign.)","disabled":true},{"key":"phone_number","value":"21344421212","description":"The phone number of the subscriber. (Required if phone number is the unique identifier for the campaign.)","type":"text","disabled":true},{"key":"crypto_wallet_address","value":"phan1134455","description":"The crypto wallet address. Required if it is the unique identifier for the campaign.","type":"text","disabled":true},{"key":"other_identifier_value","value":"custom1","description":"The other identifier value (Required if other identifier enabled as unique identifier)","type":"text","disabled":true},{"key":"extra_field","value":"extra1","description":"The extra field 1 value of the subscriber","type":"text","disabled":true},{"key":"extra_field_2","value":"extra2","description":"The extra field 2 value of the subscriber","type":"text","disabled":true},{"key":"extra_field_3","value":"extra3","description":"The extra field 3 value of the subscriber","type":"text","disabled":true},{"key":"extra_field_4","value":"extra4","description":"The extra field 4 value of the subscriber","type":"text","disabled":true},{"key":"screen_size","value":"432.0 x 960.0","description":"The screen size of device used by subscriber when the referral link was clicked","type":"text","disabled":true},{"key":"ip_address","value":"123.156.219.010","description":"The IP address used by subscriber when the referral link was clicked","type":"text","disabled":true},{"key":"os_type","value":"Android","description":"The Type of Operating system used by subscriber when the referral link was clicked","type":"text","disabled":true},{"key":"device","value":"Mobile","description":"The device used by subscriber when the referral link was clicked","type":"text","disabled":true},{"key":"source","value":"Direct visit","description":"The source of the subscriber.","type":"text","disabled":true},{"key":"referrer","value":"123456","description":"The referral code or email of the referrer ( if referred )","disabled":true},{"key":"lifetime_spend","value":"10","description":"Lifetime spend of the subscriber","type":"text","disabled":true},{"key":"subscribe_page_url","value":"https://app.referralhero.com","description":"Subscribe Page URL of the Subscriber","type":"text","disabled":true},{"key":"landing_page_url","value":"https://referralhero.com","description":"Landing Page URL of the Subscriber","type":"text","disabled":true},{"key":"option_field","value":"option","description":"Option field value of the subscriber","type":"text","disabled":true},{"key":"points","value":"20","description":"Points of the subscriber","type":"text","disabled":true},{"key":"crypto_wallet_provider","value":"Phantom","description":"The crypto wallet provider","type":"text","disabled":true},{"key":"hosting_url","value":"https://test.com","description":"URL used to generate the referral link.","type":"text","disabled":true},{"key":"transaction_id","value":"abc1234","description":"The unique ID of the transaction. Useful when tracking purchases.","type":"text","disabled":true},{"key":"conversion_category","value":"test","description":"The type of subscriber. Useful for creating reports or segmenting subscribers.","type":"text","disabled":true},{"key":"conversion_value","value":"30","description":"The monetary conversion value of the subscriber","type":"text","disabled":true}]},"description":"When using this method please take note of your Campaign Goal as our tracking logic will depend on if you are tracking a single or multi-step conversion event.\n\n**GOAL: One Conversion Event**  \nIf you have your Campaign Goal set up to track one conversion event, the following tracking logic will take place:\n\n- If a referral, a referral will be automatically created and set to Confirmed in the correct campaign.\n    \n- If not a referral, an organic subscriber will be created in the campaign UUID specified.\n    \n- If the subscriber exists in our database, the subscriber will be 'identified'. Data is not overwritten. Additional data will be created.\n    \n\n**GOAL: Two or Three Conversion Events**  \nIf you have your Campaign Goal set up to track two or three conversion events, the following tracking logic will take place:\n\n- If a referral, a referral will be created and set to Pending in the correct campaign.\n    \n- If not a referral, an organic subscriber will be created in the campaign UUID specified.\n    \n- If the subscriber exists in our database, the subscriber will be 'identified'. Data is not overwritten."},"response":[],"createdAt":"2025-02-18T15:38:16.000Z","updatedAt":"2025-02-19T11:49:22.000Z","uid":"38599485-5e98e783-1024-4177-8e1c-17effaa721fa"},{"name":"Add Pending Referral","id":"55553400-115a-4178-ad92-d719c09ff569","protocolProfileBehavior":{"disableBodyPruning":true,"followRedirects":true,"disableUrlEncoding":false},"request":{"auth":{"type":"noauth"},"method":"POST","header":[{"key":"Accept","value":"application/vnd.referralhero.v1","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"url":{"raw":"https://app.referralhero.com/api/sdk/v1/lists/{{uuid}}/subscribers/pending_referral","protocol":"https","host":["app","referralhero","com"],"path":["api","sdk","v1","lists","{{uuid}}","subscribers","pending_referral"],"query":[{"key":"name","value":"referral 1","description":"The name of the subscriber","disabled":true},{"key":"email","value":"ref9@rh.com","description":"The email of the subscriber. Required if email is the unique identifier for the campaign.","disabled":true},{"key":"ip_address","value":"106.219.121.147","description":"The IP address used by subscriber when the referral link was clicked","disabled":true},{"key":"os_type","value":"Android","description":"The Type of Operating system used by subscriber when the referral link was clicked","disabled":true},{"key":"device","value":"Mobile","description":"The device used by subscriber when the referral link was clicked","disabled":true},{"key":"screen_size","value":"432.0 x 960.0","description":"The screen size of device used by subscriber when the referral link was clicked","disabled":true},{"key":"referrer","value":"547104c5","description":"The referral code or email of the referrer","disabled":true},{"key":"status","value":"custom_event_pending","description":"Use 'custom_event_pending' to set the referral status to pending","disabled":true},{"key":"hosting_url","value":"test.com","description":"URL used to generate the referral link.","disabled":true},{"key":"phone_number","value":"14082243225","description":"The phone number of the subscriber. Required if phone number is the unique identifier for the campaign.","type":"text","disabled":true},{"key":"crypto_wallet_address","value":"phan1346789","description":"The crypto wallet address. Required if it is the unique identifier for the campaign.","type":"text","disabled":true},{"key":"other_identifier_value","value":"custom2","description":"The other identifier value (Required if other identifier enabled as unique identifier)","type":"text","disabled":true},{"key":"extra_field","value":"extra1","description":"The extra field value of the subscriber","type":"text","disabled":true},{"key":"extra_field_2","value":"extra2","description":"The extra field 2 value of the subscriber","type":"text","disabled":true},{"key":"extra_field_3","value":"extra3","description":"The extra field 3 value of the subscriber","type":"text","disabled":true},{"key":"extra_field_4","value":"extra4","description":"The extra field 4 value of the subscriber","type":"text","disabled":true},{"key":"points","value":"10","description":"Points of the subscriber","type":"text","disabled":true},{"key":"option_field","value":"option","description":"Option field value of the subscriber","type":"text","disabled":true},{"key":"conversion_value","value":"30","description":"The monetary conversion value of the subscriber","type":"text","disabled":true},{"key":"source","value":"direct visit","description":"The source of the subscriber.","type":"text","disabled":true}]},"description":"This method is most commonly used to create a referral entering the 1st step of your multi-step conversion event funnel (i.e. after a referred user successfully signs up for your app). If you want us to automatically add every user to your campaign and determine if the user is a referral or not, use the Add Subscriber method instead. This logic only checks for referrals:\n\n**Tracking Logic**\n\n**GOAL: Two or Three Conversion Events**\n\nYour campaign Goal must be set up to track two or three conversion events, and then the following tracking logic will take place:\n\n- If a referral, a referral will be automatically created and set to Pending in the correct campaign.\n    \n- If not a referral, no subscriber will be created."},"response":[],"createdAt":"2025-02-18T15:38:16.000Z","updatedAt":"2025-02-19T11:49:31.000Z","uid":"38599485-55553400-115a-4178-ad92-d719c09ff569"},{"name":"Track Referral","id":"0b1c4973-8120-476a-b92f-dcad5bc73596","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"POST","header":[{"key":"Accept","value":"application/vnd.referralhero.v1","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"url":{"raw":"https://app.referralhero.com/api/sdk/v1/lists/{{uuid}}/subscribers/track_referral_conversion_event","protocol":"https","host":["app","referralhero","com"],"path":["api","sdk","v1","lists","{{uuid}}","subscribers","track_referral_conversion_event"],"query":[{"key":"email","value":"ref1@rh.com","description":"The email of the subscriber. Required if email is the unique identifier for the campaign.","disabled":true},{"key":"crypto_wallet_address","value":"","description":"The crypto wallet address. Required if crypto wallet address is the unique identifier for the campaign.","type":"text","disabled":true},{"key":"phone_number","value":"","description":"The phone number of the subscriber. Required if phone number is the unique identifier for the campaign.","type":"text","disabled":true},{"key":"other_identifier_value","value":"","description":"The other identifier value. Required if other identifier value is the unique identifier for the campaign.","type":"text","disabled":true}]},"description":"This method is used for tracking a referral conversion event (i.e. a purchase, but can be any conversion event).\n\n**Tracking Logic**:\n\n- If a referral and pre-existing in the campaign as Pending\n    \n\n**OR**\n\n- If a referral and setReferrer or mobile params are provided, a referral is automatically created in the correct campaign and\n    \n\n**The Referral Is Set To:**\n\n- Confirmed (if tracking two conversion events)\n    \n- Unconfirmed (if tracking three conversion events)"},"response":[],"createdAt":"2025-02-18T15:38:16.000Z","updatedAt":"2025-02-19T11:49:35.000Z","uid":"38599485-0b1c4973-8120-476a-b92f-dcad5bc73596"},{"name":"Confirm Referral","id":"3286c91d-44d9-4ef8-989e-8d61cb3fa623","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"POST","header":[{"key":"Accept","value":"application/vnd.referralhero.v1","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"url":{"raw":"https://app.referralhero.com/api/sdk/v1/lists/{{uuid}}/subscribers/:subscriber_id/confirm","protocol":"https","host":["app","referralhero","com"],"path":["api","sdk","v1","lists","{{uuid}}","subscribers",":subscriber_id","confirm"],"variable":[{"key":"subscriber_id","value":"","description":"The ID of the subscriber"}]},"description":"Use this method when your Campaign Goal is set to track three conversion events and you want to confirm a referral when your third conversion event occurs (complete profile, upgrade to a paid plan, end of the trial, etc).\n\n**Tracking Logic**:\n\n- If a referral and pre-existing in the campaign as Unconfirmed\n    \n\n**The Referral Is Set To:**\n\n- Confirmed (if tracking three conversion events)"},"response":[],"createdAt":"2025-02-18T15:38:16.000Z","updatedAt":"2025-02-19T11:49:39.000Z","uid":"38599485-3286c91d-44d9-4ef8-989e-8d61cb3fa623"},{"name":"Organic Track Referral","id":"14e62106-69f0-44a1-95dc-786c42c0aca3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"POST","header":[{"key":"Accept","value":"application/vnd.referralhero.v1","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"url":{"raw":"https://app.referralhero.com/api/sdk/v1/lists/{{uuid}}/subscribers/organic_track_referral","protocol":"https","host":["app","referralhero","com"],"path":["api","sdk","v1","lists","{{uuid}}","subscribers","organic_track_referral"],"query":[{"key":"name","value":"test1","description":"The name of the subscriber","disabled":true},{"key":"email","value":"test1@rh.com","description":"The email of the subscriber. Required if email is the unique identifier for the campaign.","disabled":true},{"key":"hosting_url","value":"test.com","description":"URL used to generate the referral link.","disabled":true},{"key":"referrer","value":"007a71aa","description":"The referral code or email of the referrer","disabled":true},{"key":"extra_field","value":"extra1","description":"The extra field value of the subscriber","disabled":true},{"key":"extra_field_2","value":"extra2","description":"The extra field 2 value of the subscriber","disabled":true},{"key":"extra_field_3","value":"extra3","description":"The extra field 3 value of the subscriber","disabled":true},{"key":"extra_field_4","value":"extra4","description":"The extra field 4 value of the subscriber","disabled":true},{"key":"phone_number","value":"14082243225","description":"The phone number of the subscriber. Required if phone number is the unique identifier for the campaign.","disabled":true},{"key":"crypto_wallet_address","value":"phan12345","description":"The crypto wallet address. Required if it is the unique identifier for the campaign.","disabled":true},{"key":"other_identifier_value","value":"custom3","description":"The other identifier value (Required if other identifier enabled as unique identifier)","disabled":true},{"key":"points","value":"20","description":"Points of the subscriber","disabled":true},{"key":"conversion_value","value":"10","description":"The monetary conversion value of the subscriber","disabled":true}]},"description":"If you would like to add an organic subscriber or a track referral on the conversion page to your referral campaign, you can use the following method. This method would most commonly be used if the **user has not been previously added to your campaign** and instead directly passes through a post-checkout/subscribe event.\n\n**Tracking Logic**:\n\n- If a referral and pre-existing in the campaign as Pending\n    \n\n**OR**\n\n- If a referral and setReferrer or mobile params are provided, a referral is automatically created in the correct campaign and\n    \n\n**The Referral Is Set To:**\n\n- Confirmed (if tracking two conversion events)\n    \n- Unconfirmed (if tracking three conversion events)\n    \n\n**OR**\n\n- If not a referral, an organic subscriber is created in the campaign UUID specified."},"response":[],"createdAt":"2025-02-18T15:38:16.000Z","updatedAt":"2025-02-19T11:49:45.000Z","uid":"38599485-14e62106-69f0-44a1-95dc-786c42c0aca3"},{"name":"Update Subscriber details","id":"2ea8e7d0-c21b-4a08-a9f8-de358f9d3613","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.referralhero.v1","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"url":{"raw":"https://app.referralhero.com/api/sdk/v1/lists/{{uuid}}/subscribers/:subscriber_id","protocol":"https","host":["app","referralhero","com"],"path":["api","sdk","v1","lists","{{uuid}}","subscribers",":subscriber_id"],"query":[{"key":"name","value":"Test Referral","description":"The name of the subscriber","disabled":true},{"key":"email","value":"ref1@rh.com","description":"The email of the subscriber.","disabled":true},{"key":"extra_field","value":"extra_field","description":"The extra field value of the subscriber","type":"text","disabled":true},{"key":"extra_field_2","value":"extra_field_2","description":"The extra field 2 value of the subscriber","type":"text","disabled":true},{"key":"extra_field_3","value":"extra_field_3","description":"The extra field 3 value of the subscriber","type":"text","disabled":true},{"key":"extra_field_4","value":"extra_field_4","description":"The extra field 4 value of the subscriber","type":"text","disabled":true},{"key":"option_field","value":"option_field","description":"The option field of the subscriber","type":"text","disabled":true},{"key":"points","value":"2","description":"The number of points of the subscriber","type":"text","disabled":true},{"key":"conversion_amount","value":"20","description":"The conversion amount generated by the subscriber","type":"text","disabled":true},{"key":"phone_number","value":"17208922235","description":"The phone number of the subscriber.","type":"text","disabled":true},{"key":"crypto_wallet_address","value":"","description":"The crypto wallet address. Required if it is the unique identifier for the campaign.","type":"text","disabled":true},{"key":"crypto_wallet_provider","value":"","description":"The crypto wallet address provider of the subscriber.","type":"text","disabled":true},{"key":"other_identifier_value","value":"","description":"If custom ID is the Unique Identifier","type":"text","disabled":true}],"variable":[{"key":"subscriber_id","value":"","description":"The ID of the subscriber"}]},"description":"This method is used to update various user-related data like username, address, etc. Request parameters are the same as before in the Add a Subscriber API.\n\nRequired body parameters are noted below, otherwise, all other available subscriber attributes can be found above under 'Add a Subscriber'."},"response":[],"createdAt":"2025-02-18T15:38:16.000Z","updatedAt":"2025-02-19T11:49:51.000Z","uid":"38599485-2ea8e7d0-c21b-4a08-a9f8-de358f9d3613"},{"name":"Get subscriber","id":"e743fd50-337d-42fd-9d21-1ef856b98fc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/vnd.referralhero.v1","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"url":{"raw":"https://app.referralhero.com/api/sdk/v1/lists/{{uuid}}/subscribers/:subscriber_id","protocol":"https","host":["app","referralhero","com"],"path":["api","sdk","v1","lists","{{uuid}}","subscribers",":subscriber_id"],"variable":[{"key":"subscriber_id","value":"","description":"The ID of the subscriber"}]},"description":"This method is used to get the details of a particular subscriber."},"response":[],"createdAt":"2025-02-18T15:38:16.000Z","updatedAt":"2025-02-19T11:49:55.000Z","uid":"38599485-e743fd50-337d-42fd-9d21-1ef856b98fc4"},{"name":"Delete Subscriber","id":"657066d2-bdef-487f-abcc-54cc76241c94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.referralhero.v1","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"url":{"raw":"https://app.referralhero.com/api/sdk/v1/lists/{{uuid}}/subscribers/:subscriber_id","protocol":"https","host":["app","referralhero","com"],"path":["api","sdk","v1","lists","{{uuid}}","subscribers",":subscriber_id"],"variable":[{"key":"subscriber_id","value":"","description":"The ID of the subscriber"}]},"description":"This method is used to Delete a Subscriber."},"response":[],"createdAt":"2025-02-18T15:38:16.000Z","updatedAt":"2025-02-19T11:50:03.000Z","uid":"38599485-657066d2-bdef-487f-abcc-54cc76241c94"},{"name":"Capture Share","id":"0aa14735-0fa0-420a-851e-d4227013905c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"POST","header":[{"key":"Accept","value":"application/vnd.referralhero.v1","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"url":{"raw":"https://app.referralhero.com/api/sdk/v1/lists/{{uuid}}/subscribers/:subscriber_id/click_capture?social=facebook","protocol":"https","host":["app","referralhero","com"],"path":["api","sdk","v1","lists","{{uuid}}","subscribers",":subscriber_id","click_capture"],"query":[{"key":"social","value":"facebook","description":"To capture a 'facebook' share event."},{"key":"social","value":"twitter","description":"To capture a 'twitter' share event.","disabled":true},{"key":"social","value":"linkedin","description":"To capture a 'linkedin' share event.","disabled":true},{"key":"social","value":"email","description":"To capture a 'email' share event.","disabled":true},{"key":"social","value":"telegram","description":"To capture a 'telegram' share event.","disabled":true},{"key":"social","value":"sms","description":"To capture a 'sms' share event.","disabled":true},{"key":"social","value":"copy","description":"To capture a 'copy' share event.","disabled":true},{"key":"social","value":"reddit","description":"To capture a 'reddit' share event.","disabled":true},{"key":"social","value":"facebook messenger","description":"To capture a 'facebook messenger' share event.","disabled":true},{"key":"social","value":"whatsapp","description":"To capture a 'whatsapp' share event.","disabled":true},{"key":"social","value":"line","description":"To capture a 'line' share event.","disabled":true},{"key":"social","value":"pinterest","description":"To capture a 'pinterest' share event.","disabled":true}],"variable":[{"key":"subscriber_id","value":"","description":"The ID of the subscriber"}]},"description":"This method is used with parameters like 'copy', 'sms', 'facebook', 'twitter', etc. to capture a Share Event."},"response":[],"createdAt":"2025-02-18T15:38:16.000Z","updatedAt":"2025-02-19T11:50:07.000Z","uid":"38599485-0aa14735-0fa0-420a-851e-d4227013905c"},{"name":"Get My Referrals","id":"16eab33e-c2e1-4dfa-9d61-a376d0bac3d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/vnd.referralhero.v1","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"url":{"raw":"https://app.referralhero.com/api/sdk/v1/lists/{{uuid}}/subscribers/:subscriber_id/referrals_data","protocol":"https","host":["app","referralhero","com"],"path":["api","sdk","v1","lists","{{uuid}}","subscribers",":subscriber_id","referrals_data"],"variable":[{"key":"subscriber_id","value":"","description":"The ID of the subscriber"}]},"description":"This method is used for retrieving all referrals of the specific subscriber."},"response":[],"createdAt":"2025-02-18T15:38:16.000Z","updatedAt":"2025-02-19T11:50:14.000Z","uid":"38599485-16eab33e-c2e1-4dfa-9d61-a376d0bac3d7"},{"name":"Get Leaderboard","id":"b0572e55-9e29-4289-96d7-b421a5b5628a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/vnd.referralhero.v1","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"url":{"raw":"https://app.referralhero.com/api/sdk/v1/lists/{{uuid}}/leaderboard","protocol":"https","host":["app","referralhero","com"],"path":["api","sdk","v1","lists","{{uuid}}","leaderboard"]},"description":"This method is used for retrieving the campaign leaderboard."},"response":[],"createdAt":"2025-02-18T15:38:16.000Z","updatedAt":"2025-02-19T11:50:17.000Z","uid":"38599485-b0572e55-9e29-4289-96d7-b421a5b5628a"},{"name":"Get Referrer","id":"c63f7c8b-fca7-4274-97af-e04560c354f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/vnd.referralhero.v1","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"url":{"raw":"https://app.referralhero.com/api/sdk/v1/lists/{{uuid}}/subscribers/referrer","protocol":"https","host":["app","referralhero","com"],"path":["api","sdk","v1","lists","{{uuid}}","subscribers","referrer"],"query":[{"key":"os_type","value":"Android","description":"The Type of Operating system used by subscriber when the referral link was clicked","disabled":true},{"key":"ip_address","value":"106.219.121.147","description":"The IP address used by subscriber when the referral link was clicked","disabled":true},{"key":"screen_size","value":"432.0 x 960.0","description":"The screen size of device used by subscriber when the referral link was clicked","disabled":true},{"key":"device","value":"Mobile","description":"The device used by subscriber when the referral link was clicked","disabled":true}]},"description":"This method is used to retrieve the referrer of a user. By calling this method, you would know if someone was a referral or not, and then could:\n\n- Apply a discount code automatically to the checkout process\n    \n- Personalize text shown on a page"},"response":[],"createdAt":"2025-02-18T15:38:16.000Z","updatedAt":"2025-02-19T11:53:23.000Z","uid":"38599485-c63f7c8b-fca7-4274-97af-e04560c354f5"},{"name":"Get Rewards","id":"7cf25eca-dfc6-4ad3-8715-41ee64868f00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Accept","value":"application/vnd.referralhero.v1","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"url":{"raw":"https://app.referralhero.com/api/sdk/v1/lists/{{uuid}}/subscribers/:subscriber_id/rewards","protocol":"https","host":["app","referralhero","com"],"path":["api","sdk","v1","lists","{{uuid}}","subscribers",":subscriber_id","rewards"],"variable":[{"key":"subscriber_id","value":"","description":"The ID of the subscriber"}]},"description":"Use this method to Get Rewards unlocked by a specific subscriber."},"response":[],"createdAt":"2025-02-18T15:38:16.000Z","updatedAt":"2025-02-19T11:50:30.000Z","uid":"38599485-7cf25eca-dfc6-4ad3-8715-41ee64868f00"}],"event":[{"listen":"prerequest","script":{"id":"fc489455-50ce-429a-9140-c449bbbef64a","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"26475099-fe57-4100-853f-171ea208d96c","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"Authorization","value":"","type":"string"},{"key":"uuid","value":"","type":"string"}]}}