# Referral invite

> People earn their reward when friends they invited sign up. Your server reports each signup. Private quests only.

Source: https://dashboard.adquest.io/docs/dashboard/quests/referral · Audience: Publishers · Section: Quests

## Set it up

1. Choose **Private** and your platform, then **Referral invite** under **Drive an action**, then **Use this quest**.
2. Under **Signup activity**, choose the activity your server reports when a new account is created, with the inviter’s code. Not there yet? Choose **Create activity**.
3. Under **Invite codes**, choose **AdQuest** to give each person an AdQuest code and invite link, or **Platform** to use the codes your app already gives its users. With **Platform**, your server reports your own code; with **AdQuest**, the code from the AdQuest invite link.
4. Under **Pay the reward**, choose **Once, at the minimum** or **For each invite**.
5. Set **Minimum attributions** (how many friends) and **Attribution window (seconds)** (how long a friend has to sign up). With **For each invite**, the first field is **Most invites paid per person** instead.
6. Under **Reward recipient**, choose **Inviter**, **Invitee** or **Both**.
7. Fill in **Reward** and **Schedule**, and choose **Publish Quest**.

| Pay the reward | What happens |
| --- | --- |
| **Once, at the minimum** | The reward is paid once, when a person reaches **Minimum attributions** friends. |
| **For each invite** | The first friend completes the quest, and every friend counted from then on is paid separately, up to **Most invites paid per person** and never more than the reward allows. Friends who join while the quest is paused or ended are counted but not paid. |

## Before you publish

- Check with your developer that your server reports signups with the invite code.
- With **Platform** codes, check that your developer sends each user's code to AdQuest before they share it.
- Test with two different accounts. Inviting yourself does not count.

## What your developer does

Your developer shows each person their invite link (with **Platform** codes, your app’s own code) and, when a friend signs up, reports the signup from your server with the inviter’s code.

- [Referral invite for developers](https://dashboard.adquest.io/docs/quest-evidence/referral): The call your server makes.
