LEADSOURCE: Lead source
A source or channel through which a person was acquired, used for lead attribution and tracking.
Default definition. This article describes the default
LEADSOURCE definition shipped with DemandFlow. Administrators can add, remove, rename, or re-type fields, change which ones are required, and alter the layout from the Definitions screen in Settings. Your tenant's current schema may differ from what is shown here. To read the current definition at any time, GET the DEFINITION object whose id matches LEADSOURCE.Entity properties
| Property | Value |
|---|---|
| Entity code | LEADSOURCE |
| Display name | Lead source |
| Plural | Lead sources |
| Level | 30000 |
Use cases
Simple reference entity for lead attribution. Single-column layout with a minimal General panel containing only a name field. Intended to be referenced by person/contact entities via objectLookup to record where each lead originated (e.
Fields
Basics
| Field | Type | Required | Notes |
|---|---|---|---|
name | text | Yes | Name |
description | text (multi-line) | Description |
Relationships
- No declared relationships in the default definition.
Creating a Lead source via the API
POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json
{
"entity": "LEADSOURCE",
"level": 30000,
"comboKey": "SUB:<your-sub-id>|ENT:",
"name": "Example",
"description": "Example text."
}
Listing Lead sources records
# All lead sources in your tenant
GET /v1/entities/LEADSOURCE/SUB