Create Custom Field
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
}
'const options = {
method: 'POST',
headers: {'X-ACCESS-TOKEN': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'lead_score', type: 1})
};
fetch('https://app.fliqr.ai/api/accounts/custom_fields', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.fliqr.ai/api/accounts/custom_fields"
payload = {
"name": "lead_score",
"type": 1
}
headers = {
"X-ACCESS-TOKEN": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": 1995,
"name": "lead_score"
}Accounts
Create custom field
Create a custom field
POST
/
accounts
/
custom_fields
Create Custom Field
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
}
'const options = {
method: 'POST',
headers: {'X-ACCESS-TOKEN': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'lead_score', type: 1})
};
fetch('https://app.fliqr.ai/api/accounts/custom_fields', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.fliqr.ai/api/accounts/custom_fields"
payload = {
"name": "lead_score",
"type": 1
}
headers = {
"X-ACCESS-TOKEN": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": 1995,
"name": "lead_score"
}Authorizations
API access token from your Fliqr AI dashboard (Settings → API). Send it in the X-ACCESS-TOKEN header on every request.
Body
application/json
Was this page helpful?
⌘I