Developer Resources
Friend Invitations
CREATE a friend invitation POST /api/v2/betas/{beta_id}/friend_invitations
Invite a new person on behalf of an existing tester. The delivered email will use your Invite-a-Friend E-mail Template.
Friend Invitations differ from referrals (where a tester shares their unique referral link with a friend) in that recipients get an immediate invitation to your beta as if they had applied and been invited by you.
For example, to have an existing tester "leonard@bigbangtheory.com" send an invitation to their friend "sheldon@bigbangtheory.com":
Parameters
- sender_email required
- The email address of the existing tester sending this invitation (inviter).
- recipient_email required
- The email address of the person receiving the invitation (invitee).
- message optional
- A personal message from the sender to the recipient.
Request
Or, using curl:
Response
Errors
| Code | Description |
|---|---|
| 2501 | A general error has occurred. |
| 2502 | The Invite-a-Friend System is disabled. You can enable Invite-a-Friend System via the Prefinery UI on the Advanced Settings page. |
| 2503 | Sender email is required. |
| 2504 | Tester record not found for sender email. The sender's email address must correspond to an existing tester in your beta. |
| 2505 | Sender not allowed to send invitations. The sender's tester record must be set to a status of Invited, Active, or Idle. An Applied or Rejected tester cannot invite friends. |
| 2506 | Recipient email is required. |
| 2507 | You cannot invite yourself. |
| 2508 | You have no more invitations. The sender has used up all of their friend invitations. |
| 2509 | You have already invited this person. |
| 2510 | Recipient email is invalid. |