Add clients to a pipeline
curl --request POST \
--url https://api.dialtu.com/api/v2/public/salesflow/pipelines/{pipeline_id}/clients/add \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"client_ids": [
123
],
"stage_id": 123
}
'import requests
url = "https://api.dialtu.com/api/v2/public/salesflow/pipelines/{pipeline_id}/clients/add"
payload = {
"client_ids": [123],
"stage_id": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({client_ids: [123], stage_id: 123})
};
fetch('https://api.dialtu.com/api/v2/public/salesflow/pipelines/{pipeline_id}/clients/add', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "success",
"message": "<string>",
"success_count": 0,
"skipped_count": 0
}Salesflow pipelines
Add clients to a pipeline
Add one or more existing clients to a stage of the pipeline.
Clients that are already active on the pipeline are skipped and counted in
skipped_count.
POST
/
api
/
v2
/
public
/
salesflow
/
pipelines
/
{pipeline_id}
/
clients
/
add
Add clients to a pipeline
curl --request POST \
--url https://api.dialtu.com/api/v2/public/salesflow/pipelines/{pipeline_id}/clients/add \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"client_ids": [
123
],
"stage_id": 123
}
'import requests
url = "https://api.dialtu.com/api/v2/public/salesflow/pipelines/{pipeline_id}/clients/add"
payload = {
"client_ids": [123],
"stage_id": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({client_ids: [123], stage_id: 123})
};
fetch('https://api.dialtu.com/api/v2/public/salesflow/pipelines/{pipeline_id}/clients/add', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "success",
"message": "<string>",
"success_count": 0,
"skipped_count": 0
}Authorizations
API key created in the dashboard under Settings → API Keys. Send it as Authorization: Bearer pk_....
Path Parameters
ID of the pipeline. Shown in the Salesflow editor URL and in the pipeline settings.
Body
application/json
Response
Created
Response for pipeline add/remove/move operations.