List business units
curl --request GET \
--url https://www.ruddr.io/api/workspace/business-units \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.ruddr.io/api/workspace/business-units"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.ruddr.io/api/workspace/business-units', 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.ruddr.io/api/workspace/business-units",
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.ruddr.io/api/workspace/business-units"
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.ruddr.io/api/workspace/business-units")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.ruddr.io/api/workspace/business-units")
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{
"results": [
{
"id": "d7a3f1e8-4c29-4b85-91d0-e6b7c2f03a18",
"name": "West Region",
"isActive": true,
"companyName": "Acme Corp - West",
"streetAddress": "456 Market St\nSan Francisco, CA 94105",
"invoiceSubject": "Invoice for services rendered - West Region",
"invoiceNotes": "Payment due within terms specified.",
"invoiceEmailSubject": "Your invoice from Acme Corp - West",
"invoiceEmailBody": "Please find your invoice attached. Thank you for your business.",
"invoiceEmailFromName": "Acme West Billing",
"invoiceEmailReplyTo": "billing-west@acmecorp.com",
"invoiceTaxableItems": [
"services",
"expenses"
],
"createdAt": "2025-08-12T14:23:41.882Z",
"invoicePaymentTerm": {
"id": "b4e1c7a9-2d38-4f96-80d5-f3a7e6c02b19",
"name": "Net 30",
"type": "net",
"days": 30
},
"invoiceTaxRate": {
"id": "c9d2e5b8-3f47-4a81-92d6-e1b7c4f03a28",
"name": "Standard Tax",
"rate": 8.5
}
}
],
"hasMore": false
}{
"status": 400,
"message": "Parameter 'startingAfter' is not a valid UUID."
}{
"status": 403,
"message": "Feature 'Business Units' is not enabled."
}Business Units
List business units
GET
/
business-units
List business units
curl --request GET \
--url https://www.ruddr.io/api/workspace/business-units \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.ruddr.io/api/workspace/business-units"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.ruddr.io/api/workspace/business-units', 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.ruddr.io/api/workspace/business-units",
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.ruddr.io/api/workspace/business-units"
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.ruddr.io/api/workspace/business-units")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.ruddr.io/api/workspace/business-units")
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{
"results": [
{
"id": "d7a3f1e8-4c29-4b85-91d0-e6b7c2f03a18",
"name": "West Region",
"isActive": true,
"companyName": "Acme Corp - West",
"streetAddress": "456 Market St\nSan Francisco, CA 94105",
"invoiceSubject": "Invoice for services rendered - West Region",
"invoiceNotes": "Payment due within terms specified.",
"invoiceEmailSubject": "Your invoice from Acme Corp - West",
"invoiceEmailBody": "Please find your invoice attached. Thank you for your business.",
"invoiceEmailFromName": "Acme West Billing",
"invoiceEmailReplyTo": "billing-west@acmecorp.com",
"invoiceTaxableItems": [
"services",
"expenses"
],
"createdAt": "2025-08-12T14:23:41.882Z",
"invoicePaymentTerm": {
"id": "b4e1c7a9-2d38-4f96-80d5-f3a7e6c02b19",
"name": "Net 30",
"type": "net",
"days": 30
},
"invoiceTaxRate": {
"id": "c9d2e5b8-3f47-4a81-92d6-e1b7c4f03a28",
"name": "Standard Tax",
"rate": 8.5
}
}
],
"hasMore": false
}{
"status": 400,
"message": "Parameter 'startingAfter' is not a valid UUID."
}{
"status": 403,
"message": "Feature 'Business Units' is not enabled."
}A named organizational unit used to configure invoice settings and group clients and projects.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
A cursor ID (uuid) used to request the next page of results. If not provided, defaults to the first page of results.
A cursor ID (uuid) used to request the previous page of results. Is mutually exclusive with startingAfter.
The maximum number of results to be returned. Can be any number from 1 to 100. Defaults to 10, if not provided.
Filter by name when it exactly matches the provided keyword.
⌘I