curl --request GET \
--url https://api.pruff.com/api/clients/crm/pipeline \
--header 'x-api-key: <api-key>'import requests
url = "https://api.pruff.com/api/clients/crm/pipeline"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.pruff.com/api/clients/crm/pipeline', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.pruff.com/api/clients/crm/pipeline",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pruff.com/api/clients/crm/pipeline"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.pruff.com/api/clients/crm/pipeline")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pruff.com/api/clients/crm/pipeline")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"businessIdentifier": "76111111-6",
"businessName": "Comercial Ejemplo SpA",
"stage": "Negociación",
"executives": [
{
"name": "Ana Pérez",
"email": "ana.perez@example.com"
}
],
"tags": [
"Prioritario"
],
"campaigns": [
"Campaña Octubre"
],
"updatedAt": "2026-10-05T16:30:00.000Z"
}
],
"pagination": {
"total": 1,
"page": 1,
"pageSize": 10,
"totalPages": 1
}
}Obtener pipeline comercial
Obtiene las empresas del pipeline comercial del CRM de tu empresa, con la etapa en que están, los ejecutivos a cargo, sus tags y las campañas asociadas. Son las mismas empresas de la pestaña Pipeline del CRM; las que se sacaron del pipeline no aparecen.
Ves el pipeline completo de tu empresa, sin importar el ejecutivo. Para acotarlo usa los filtros stage, executiveEmail, tag, campaign y businessIdentifier; se combinan con una condición “y”.
Los registros vienen ordenados desde la empresa que entró al pipeline más recientemente. Aún no se guarda la fecha en que una empresa entró a su etapa actual, así que updatedAt no sirve para medir tiempos entre etapas.
El servicio está paginado y el tamaño máximo de página es 500. Cualquier query param que no esté en esta lista responde un error 400.
curl --request GET \
--url https://api.pruff.com/api/clients/crm/pipeline \
--header 'x-api-key: <api-key>'import requests
url = "https://api.pruff.com/api/clients/crm/pipeline"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.pruff.com/api/clients/crm/pipeline', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.pruff.com/api/clients/crm/pipeline",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pruff.com/api/clients/crm/pipeline"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.pruff.com/api/clients/crm/pipeline")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pruff.com/api/clients/crm/pipeline")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"businessIdentifier": "76111111-6",
"businessName": "Comercial Ejemplo SpA",
"stage": "Negociación",
"executives": [
{
"name": "Ana Pérez",
"email": "ana.perez@example.com"
}
],
"tags": [
"Prioritario"
],
"campaigns": [
"Campaña Octubre"
],
"updatedAt": "2026-10-05T16:30:00.000Z"
}
],
"pagination": {
"total": 1,
"page": 1,
"pageSize": 10,
"totalPages": 1
}
}