Skip to main content
POST
/
accounts
/
custom_fields
cURL
curl --request POST \
  --url https://app.fliqr.ai/api/accounts/custom_fields \
  --header 'Content-Type: application/json' \
  --header 'X-ACCESS-TOKEN: <api-key>' \
  --data '
{
  "name": "lead_score",
  "type": 1
}
'
{
  "id": 1995,
  "name": "lead_score"
}

Authorizations

X-ACCESS-TOKEN
string
header
required

Body

application/json
name
string
type
integer

0 - text | 1 - number | 2 - date | 3 - datetime | 4 - true/false

isBotField
boolean
default:false
value
string

The value of the bot field. It is ignored for the user custom field.

description
string

Response

200 - application/json

successful operation

id
integer<int64>

The ID of the new custom field

name
string