Pipelines Update Card
curl --request POST \
--url https://app.fliqr.ai/api/pipelines/{pipeline_id}/opportunities/{opportunity_id} \
--header 'Content-Type: application/json' \
--header 'X-ACCESS-TOKEN: <api-key>' \
--data '
{
"title": "This is a test opportunity",
"description": "...",
"stage_id": 12334,
"value": 300,
"status": "open",
"priority": "low",
"assigned_admins": [
55446563
],
"custom_fields": [
{
"id": 1234,
"value": "Any data"
},
{
"name": "Age",
"value": 30
}
]
}
'const options = {
method: 'POST',
headers: {'X-ACCESS-TOKEN': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: 'This is a test opportunity',
description: '...',
stage_id: 12334,
value: 300,
status: 'open',
priority: 'low',
assigned_admins: [55446563],
custom_fields: [{id: 1234, value: 'Any data'}, {name: 'Age', value: 30}]
})
};
fetch('https://app.fliqr.ai/api/pipelines/{pipeline_id}/opportunities/{opportunity_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.fliqr.ai/api/pipelines/{pipeline_id}/opportunities/{opportunity_id}"
payload = {
"title": "This is a test opportunity",
"description": "...",
"stage_id": 12334,
"value": 300,
"status": "open",
"priority": "low",
"assigned_admins": [55446563],
"custom_fields": [
{
"id": 1234,
"value": "Any data"
},
{
"name": "Age",
"value": 30
}
]
}
headers = {
"X-ACCESS-TOKEN": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true
}Pipelines
Pipelines update card
Updates an opportunity / ticket.
POST
/
pipelines
/
{pipeline_id}
/
opportunities
/
{opportunity_id}
Pipelines Update Card
curl --request POST \
--url https://app.fliqr.ai/api/pipelines/{pipeline_id}/opportunities/{opportunity_id} \
--header 'Content-Type: application/json' \
--header 'X-ACCESS-TOKEN: <api-key>' \
--data '
{
"title": "This is a test opportunity",
"description": "...",
"stage_id": 12334,
"value": 300,
"status": "open",
"priority": "low",
"assigned_admins": [
55446563
],
"custom_fields": [
{
"id": 1234,
"value": "Any data"
},
{
"name": "Age",
"value": 30
}
]
}
'const options = {
method: 'POST',
headers: {'X-ACCESS-TOKEN': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: 'This is a test opportunity',
description: '...',
stage_id: 12334,
value: 300,
status: 'open',
priority: 'low',
assigned_admins: [55446563],
custom_fields: [{id: 1234, value: 'Any data'}, {name: 'Age', value: 30}]
})
};
fetch('https://app.fliqr.ai/api/pipelines/{pipeline_id}/opportunities/{opportunity_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.fliqr.ai/api/pipelines/{pipeline_id}/opportunities/{opportunity_id}"
payload = {
"title": "This is a test opportunity",
"description": "...",
"stage_id": 12334,
"value": 300,
"status": "open",
"priority": "low",
"assigned_admins": [55446563],
"custom_fields": [
{
"id": 1234,
"value": "Any data"
},
{
"name": "Age",
"value": 30
}
]
}
headers = {
"X-ACCESS-TOKEN": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true
}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
if omitted, the the contact is added to first stage.
won is positive and lost is negative
Available options:
open, won, lost Available options:
low, medium, high Response
200 - application/json
successful operation
Was this page helpful?
⌘I