Skip to main content
POST
/
v1.0
/
teamFeatures
/
custom-field
Add Custom Field
curl --request POST \
  --url https://api.lofty.com/v1.0/teamFeatures/custom-field \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "attributeName": "<string>",
  "attributeType": "number, text, date, single_select, multi_select, percentage, currency",
  "value": "<string>",
  "params": "<string>"
}
'
"success"

Documentation Index

Fetch the complete documentation index at: https://developer.lofty.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string
required

Bearer [access_token]

Content-Type
string
required

application/json

Body

application/json

User customized field

attributeName
string
required

The name of this custom field

attributeType
string
required

The type of the field

Example:

"number, text, date, single_select, multi_select, percentage, currency"

value
string
required

The content of the field for lead, value for multi-select,such as "["item1","item2\s",...]" .It's unnecessary when adding a new custom field for team

params
string

options for select, such as {"option":["item1","item2",...]}

Response

Custom field created.

The response is of type string.

Example:

"success"