freshworks · Schema

LeadCreate

Properties

Name Type Description
first_name string First name.
last_name string Last name.
email string Email address.
work_number string Work phone number.
mobile_number string Mobile phone number.
job_title string Job title.
lead_source_id integer ID of the lead source.
owner_id integer ID of the owning agent.
custom_field object Custom field values.
View JSON Schema on GitHub

JSON Schema

freshworks-leadcreate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LeadCreate",
  "title": "LeadCreate",
  "type": "object",
  "properties": {
    "first_name": {
      "type": "string",
      "description": "First name."
    },
    "last_name": {
      "type": "string",
      "description": "Last name."
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "Email address."
    },
    "work_number": {
      "type": "string",
      "description": "Work phone number."
    },
    "mobile_number": {
      "type": "string",
      "description": "Mobile phone number."
    },
    "job_title": {
      "type": "string",
      "description": "Job title."
    },
    "lead_source_id": {
      "type": "integer",
      "description": "ID of the lead source."
    },
    "owner_id": {
      "type": "integer",
      "description": "ID of the owning agent."
    },
    "custom_field": {
      "type": "object",
      "additionalProperties": true,
      "description": "Custom field values."
    }
  }
}