FirstPromoter · Schema

Referral

A lead or customer referred by a FirstPromoter promoter.

Affiliate MarketingReferral TrackingSoftware-as-a-ServiceCommission ManagementReward DistributionPromotersPartner MarketingInfluencer MarketingPayoutsAttributionWebhookMCP

Properties

Name Type Description
id integer Unique identifier for the referral.
email string Email address of the referred person.
uid string External unique identifier for this referral in the merchant's system.
state string Lifecycle state of the referral.
plan_name string Name of the subscription plan the referral is on.
mrr number Monthly recurring revenue attributed to this referral.
promoter_id integer ID of the promoter who referred this person.
campaign_id integer ID of the campaign through which this referral was tracked.
created_at string Timestamp when the referral was first recorded.
updated_at string Timestamp when the referral record was last updated.
View JSON Schema on GitHub

JSON Schema

firstpromoter-referral-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://firstpromoter.com/schemas/referral",
  "title": "Referral",
  "description": "A lead or customer referred by a FirstPromoter promoter.",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Unique identifier for the referral."
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "Email address of the referred person."
    },
    "uid": {
      "type": "string",
      "description": "External unique identifier for this referral in the merchant's system."
    },
    "state": {
      "type": "string",
      "enum": ["subscribed", "signup", "active", "cancelled", "refunded"],
      "description": "Lifecycle state of the referral."
    },
    "plan_name": {
      "type": "string",
      "nullable": true,
      "description": "Name of the subscription plan the referral is on."
    },
    "mrr": {
      "type": "number",
      "format": "float",
      "description": "Monthly recurring revenue attributed to this referral."
    },
    "promoter_id": {
      "type": "integer",
      "description": "ID of the promoter who referred this person."
    },
    "campaign_id": {
      "type": "integer",
      "description": "ID of the campaign through which this referral was tracked."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the referral was first recorded."
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the referral record was last updated."
    }
  },
  "additionalProperties": true
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/firstpromoter-referral"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.