RealSelf · Schema
New Lead Webhook
This schema defines the data that is published when a new lead is created.
CompanyHealthcareAestheticsMarketplaceReviewsLead GenerationConsumer HealthWebhookJSON-Schema
Properties
| Name | Type | Description |
|---|---|---|
| callback | string | Url to use for sending updates to this lead. |
| lead | object | The new lead |
| token | string | JWS token for validation and callback. |
JSON Schema
{"$id":"https://api.realself.com/v1/schemas/leads/new-lead-webhook/1-0-0.json","$schema":"https://json-schema.org/draft/2020-12/schema","description":"This schema defines the data that is published when a new lead is created.","properties":{"callback":{"description":"Url to use for sending updates to this lead.","type":"string"},"lead":{"description":"The new lead","properties":{"channel":{"description":"The channel that this lead was received.","enum":["web","connect"],"type":"string"},"comments":{"description":"The comments that this lead specified.","type":"string"},"consultation_type":{"description":"The consolution types, if any, the lead has selected.","items":{"type":"string"},"type":"array"},"id":{"description":"Unique identifier for this lead.","type":"string"},"practice":{"description":"The practice/location for this lead.","properties":{"city":{"description":"Name of the city this practice resides","type":"string"},"id":{"description":"Unique identifier for this practice.","type":"string"},"name":{"description":"Name of this practice","type":"string"},"state":{"description":"Name of the state this practice resides","type":"string"}},"required":["id","name","city","state"],"type":"object"},"prospect":{"description":"The new lead","properties":{"country":{"description":"Country of the prospect","type":"string"},"email":{"description":"Email address of the prospect","type":"string"},"location":{"description":"Location or city of the prospect","type":"string"},"name":{"description":"Name of the prospect","type":"string"},"phone":{"description":"Phone number of the prospect","type":"string"},"state":{"description":"State of the prospect","type":"string"}},"type":"object"},"provider":{"description":"The provider/doctor for this lead. If no provider was chosen, this will not be present","properties":{"id":{"description":"Unique identifier for this provider.","type":"string"},"name":{"description":"Name of this provider","type":"string"}},"required":["id","name"],"type":"object"},"treatment":{"description":"The treatment the prospect is interested in.","properties":{"id":{"description":"Unique identifier of the treatment","type":"string"},"name":{"description":"Name of the treatment","type":"string"}},"required":["id","name"],"type":"object"}},"required":["id","channel"],"type":"object"},"token":{"description":"JWS token for validation and callback.","type":"string"}},"required":["lead","callback","token"],"title":"New Lead Webhook","type":"object"}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/realself-new-lead-webhook-1-0-0"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.