FirstPromoter icon

FirstPromoter

Interact with the official FirstPromoter APIs

Referral → Get Referral

AI-generated

Summary

Retrieve details of a specific referral from FirstPromoter by identifying it through one of the attributes: ID, Email, UID, or Username.

Inputs

  • Find by Attribute (required) — Select the attribute by which to find the referral. Options are 'Email', 'ID', 'UID', or 'Username'.
  • Attribute Value (required) — Provide the value corresponding to the selected attribute to identify the referral, such as the referral's ID, email, UID, or username.

Output shape

a single referral record's details as a JSON object

The output contains the referral details matching the given attribute; if the referral is not found, an error will be returned or processing continues with an error message if 'Continue On Fail' is enabled.

Examples

Example 1: Get referral by ID

Set 'Find by Attribute' to 'ID' and provide the referral's ID as 'Attribute Value' to fetch the referral's details.

Links

Discussion