Deals
List pipelines
The CRM pipelines and their stages, each mapped onto the standard ladder. A workspace without a CRM gets implied: true and its own stage ladder.
GET
/
v2
/
pipelines
List pipelines
curl --request GET \
--url https://api.opennous.cloud/v2/pipelines \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.opennous.cloud/v2/pipelines"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.opennous.cloud/v2/pipelines', 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.opennous.cloud/v2/pipelines",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.opennous.cloud/v2/pipelines"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.opennous.cloud/v2/pipelines")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.opennous.cloud/v2/pipelines")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"pipelines": [
{
"id": "default",
"name": "Sales pipeline",
"is_primary": true,
"deals": 212,
"open_deals": 48,
"stages": [
{
"key": "appointmentscheduled",
"label": "Discovery call",
"canonical": "discovery",
"kind": "active"
}
]
}
],
"implied": false,
"primary_pipeline_ref": "default",
"standard_stages": [
{
"key": "identified",
"label": "Identified",
"rank": 0,
"kind": "active"
}
]
}
Your CRM pipelines and their stages. Each stage carries
A workspace without a CRM returns no pipelines,
canonical, the standard stage it maps to. That is what canonical_stage on a deal and the stage filters use.
| Standard stage | Meaning |
|---|---|
identified | Nothing has happened yet. |
connected | They did something. Accepted, replied, opened, visited. |
interested | They replied positively. |
meeting_booked | A meeting is on the calendar. |
discovery | A first call happened. |
demo | A demo happened. |
negotiation | Terms or a proposal are on the table. |
closed_won | Signed. |
closed_lost | Lost the deal. |
disqualified | Not a fit, or asked us to stop. |
churned | A former customer who left. |
implied: true, and its own stage ladder in workspace_stages.Authorizations
bearerAuthapiKeyHeader
Workspace API key. Create one in Settings → API keys.
⌘I
List pipelines
curl --request GET \
--url https://api.opennous.cloud/v2/pipelines \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.opennous.cloud/v2/pipelines"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.opennous.cloud/v2/pipelines', 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.opennous.cloud/v2/pipelines",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.opennous.cloud/v2/pipelines"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.opennous.cloud/v2/pipelines")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.opennous.cloud/v2/pipelines")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"pipelines": [
{
"id": "default",
"name": "Sales pipeline",
"is_primary": true,
"deals": 212,
"open_deals": 48,
"stages": [
{
"key": "appointmentscheduled",
"label": "Discovery call",
"canonical": "discovery",
"kind": "active"
}
]
}
],
"implied": false,
"primary_pipeline_ref": "default",
"standard_stages": [
{
"key": "identified",
"label": "Identified",
"rank": 0,
"kind": "active"
}
]
}