GetThe Referral · Schema

PostV2AdvocatesRequest

Referral SoftwareHome ServicesContractorsReferral ManagementCustomer RewardsMobile App

Properties

Name Type Description
sales_rep_id integer
email string
country_code string
phone string
firstname string
lastname string
password string
street1 string
street2 string
city string
state string
zip string
refer_code string
parent_advocate_id string
provider string
provider_id string
amb_contact_id string
amb_acc_owner string
ambassador_id string
xtrm_pat_user_id string
lead_share_url string
custom_lead string
advocate_invite_url string
company_cam_project_id string
View JSON Schema on GitHub

JSON Schema

getthereferral-post-v2-advocates-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getthereferral/json-schema/getthereferral-post-v2-advocates-request-schema.json",
  "title": "PostV2AdvocatesRequest",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/getthereferral-openapi-generated.yml#/components/schemas/PostV2AdvocatesRequest",
  "type": "object",
  "properties": {
    "sales_rep_id": {
      "type": "integer"
    },
    "email": {
      "type": "string"
    },
    "country_code": {
      "type": "string"
    },
    "phone": {
      "type": "string"
    },
    "firstname": {
      "type": "string"
    },
    "lastname": {
      "type": "string"
    },
    "password": {
      "type": "string"
    },
    "street1": {
      "type": "string"
    },
    "street2": {
      "type": "string"
    },
    "city": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "zip": {
      "type": "string"
    },
    "refer_code": {
      "type": "string"
    },
    "parent_advocate_id": {
      "type": "string"
    },
    "provider": {
      "type": "string"
    },
    "provider_id": {
      "type": "string"
    },
    "amb_contact_id": {
      "type": "string"
    },
    "amb_acc_owner": {
      "type": "string"
    },
    "ambassador_id": {
      "type": "string"
    },
    "xtrm_pat_user_id": {
      "type": "string"
    },
    "lead_share_url": {
      "type": "string"
    },
    "custom_lead": {
      "type": "string"
    },
    "advocate_invite_url": {
      "type": "string"
    },
    "company_cam_project_id": {
      "type": "string"
    }
  }
}

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/getthereferral-post-v2-advocates-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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