freshworks · Schema

AccountCreate

Properties

Name Type Description
name string Name of the company.
address string Address.
city string City.
state string State or province.
zipcode string ZIP or postal code.
country string Country.
phone string Phone number.
website string Website URL.
number_of_employees integer Number of employees.
annual_revenue number Annual revenue.
industry_type_id integer Industry type ID.
business_type_id integer Business type ID.
owner_id integer ID of the owning sales agent.
custom_field object Custom field values.
View JSON Schema on GitHub

JSON Schema

freshworks-accountcreate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AccountCreate",
  "title": "AccountCreate",
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the company."
    },
    "address": {
      "type": "string",
      "description": "Address."
    },
    "city": {
      "type": "string",
      "description": "City."
    },
    "state": {
      "type": "string",
      "description": "State or province."
    },
    "zipcode": {
      "type": "string",
      "description": "ZIP or postal code."
    },
    "country": {
      "type": "string",
      "description": "Country."
    },
    "phone": {
      "type": "string",
      "description": "Phone number."
    },
    "website": {
      "type": "string",
      "format": "uri",
      "description": "Website URL."
    },
    "number_of_employees": {
      "type": "integer",
      "description": "Number of employees."
    },
    "annual_revenue": {
      "type": "number",
      "description": "Annual revenue."
    },
    "industry_type_id": {
      "type": "integer",
      "description": "Industry type ID."
    },
    "business_type_id": {
      "type": "integer",
      "description": "Business type ID."
    },
    "owner_id": {
      "type": "integer",
      "description": "ID of the owning sales agent."
    },
    "custom_field": {
      "type": "object",
      "additionalProperties": true,
      "description": "Custom field values."
    }
  }
}