curl --request GET \
--url https://www.useroulette.com/api/v1/accounts/{account_id}/company-statuses \
--header 'Authorization: Bearer <token>'{
"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"
}Retrieve all deal flow statuses/stages for an account. Results are ordered by rank (pipeline order), then by creation date.
curl --request GET \
--url https://www.useroulette.com/api/v1/accounts/{account_id}/company-statuses \
--header 'Authorization: Bearer <token>'{
"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"
}