Create Custom Property
This endpoint creates a custom property in your workspace
For dropdown and picklist kinds, provide the initial option list in options - these kinds cannot be created without at least one option
The property name must be unique within its type. The same name can exist once as a chat property and once as a ticket property
mandatory is supported only for ticket properties. Passing mandatory: true for a chat property returns a validation error
The dependent_dropdown kind cannot be created via the API
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
- The name of the property
- Must be unique within its type (chat/ticket)
"Workspace"
- The type the property belongs to
chat, ticket "ticket"
- The value kind of the property
dropdownis single-select,picklistis multi-select
text, date, file, dropdown, picklist "dropdown"
- The name of the section to place the property under
- Created automatically if it does not exist
"Issue Details"
- Whether the property is mandatory
- Supported only for ticket properties; rejected for chat properties
- Defaults to false
false
- The initial option labels
- Required (at least one non-empty label) for dropdown and picklist kinds
- Not allowed for other kinds
["Acme Corp", "Globex"]