List company statuses
curl --request GET \
--url https://www.useroulette.com/api/v1/accounts/{account_id}/company-statuses \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.useroulette.com/api/v1/accounts/{account_id}/company-statuses"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.useroulette.com/api/v1/accounts/{account_id}/company-statuses', 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://www.useroulette.com/api/v1/accounts/{account_id}/company-statuses",
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://www.useroulette.com/api/v1/accounts/{account_id}/company-statuses"
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://www.useroulette.com/api/v1/accounts/{account_id}/company-statuses")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.useroulette.com/api/v1/accounts/{account_id}/company-statuses")
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{
"success": true,
"data": [
{
"id": "uuid-1",
"account_id": "account-uuid",
"name": "Initial Review",
"color": "#6B7280",
"rank": 1,
"is_default": true,
"created_at": "2024-01-01T00:00:00Z"
},
{
"id": "uuid-2",
"account_id": "account-uuid",
"name": "Due Diligence",
"color": "#3B82F6",
"rank": 2,
"is_default": false,
"created_at": "2024-01-01T00:00:00Z"
},
{
"id": "uuid-3",
"account_id": "account-uuid",
"name": "Partner Meeting",
"color": "#8B5CF6",
"rank": 3,
"is_default": false,
"created_at": "2024-01-01T00:00:00Z"
},
{
"id": "uuid-4",
"account_id": "account-uuid",
"name": "Term Sheet",
"color": "#10B981",
"rank": 4,
"is_default": false,
"created_at": "2024-01-01T00:00:00Z"
},
{
"id": "uuid-5",
"account_id": "account-uuid",
"name": "Passed",
"color": "#EF4444",
"rank": 5,
"is_default": false,
"created_at": "2024-01-01T00:00:00Z"
}
],
"authType": "api_key"
}{
"success": false,
"error": "Invalid or expired API key",
"data": null
}{
"success": false,
"error": "Resource not found",
"data": null
}Company Statuses
List company statuses
Retrieve all deal flow statuses/stages for an account. Results are ordered by rank (pipeline order), then by creation date.
GET
/
accounts
/
{account_id}
/
company-statuses
List company statuses
curl --request GET \
--url https://www.useroulette.com/api/v1/accounts/{account_id}/company-statuses \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.useroulette.com/api/v1/accounts/{account_id}/company-statuses"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.useroulette.com/api/v1/accounts/{account_id}/company-statuses', 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://www.useroulette.com/api/v1/accounts/{account_id}/company-statuses",
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://www.useroulette.com/api/v1/accounts/{account_id}/company-statuses"
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://www.useroulette.com/api/v1/accounts/{account_id}/company-statuses")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.useroulette.com/api/v1/accounts/{account_id}/company-statuses")
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{
"success": true,
"data": [
{
"id": "uuid-1",
"account_id": "account-uuid",
"name": "Initial Review",
"color": "#6B7280",
"rank": 1,
"is_default": true,
"created_at": "2024-01-01T00:00:00Z"
},
{
"id": "uuid-2",
"account_id": "account-uuid",
"name": "Due Diligence",
"color": "#3B82F6",
"rank": 2,
"is_default": false,
"created_at": "2024-01-01T00:00:00Z"
},
{
"id": "uuid-3",
"account_id": "account-uuid",
"name": "Partner Meeting",
"color": "#8B5CF6",
"rank": 3,
"is_default": false,
"created_at": "2024-01-01T00:00:00Z"
},
{
"id": "uuid-4",
"account_id": "account-uuid",
"name": "Term Sheet",
"color": "#10B981",
"rank": 4,
"is_default": false,
"created_at": "2024-01-01T00:00:00Z"
},
{
"id": "uuid-5",
"account_id": "account-uuid",
"name": "Passed",
"color": "#EF4444",
"rank": 5,
"is_default": false,
"created_at": "2024-01-01T00:00:00Z"
}
],
"authType": "api_key"
}{
"success": false,
"error": "Invalid or expired API key",
"data": null
}{
"success": false,
"error": "Resource not found",
"data": null
}Authorizations
API key authentication. Generate keys from your account settings.
Include in header: Authorization: Bearer YOUR_API_KEY
Path Parameters
The unique identifier of the account/team
⌘I

