curl --request GET \
--url https://www.ruddr.io/api/workspace/business-units/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.ruddr.io/api/workspace/business-units/{id}"
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/{id}', 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/{id}",
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/{id}"
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/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.ruddr.io/api/workspace/business-units/{id}")
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{
"id": "c5a1e7d3-8f42-4b96-a0d8-f3b7c6e02d19",
"name": "Central Division",
"isActive": true,
"companyName": "Acme Corp - Central",
"streetAddress": "789 Wacker Dr\nChicago, IL 60601",
"invoiceSubject": "Invoice for services rendered - Central",
"invoiceNotes": "Please remit payment within terms.",
"invoiceEmailSubject": "Your invoice from Acme Corp - Central",
"invoiceEmailBody": "Attached is your invoice. Thank you for your continued partnership.",
"invoiceEmailFromName": "Acme Central Billing",
"invoiceEmailReplyTo": "billing-central@acmecorp.com",
"invoiceTaxableItems": [
"services",
"expenses",
"other_items"
],
"createdAt": "2025-09-12T16:42:18.293Z",
"invoicePaymentTerm": {
"id": "f2d8a5c1-4e37-4b90-81d6-e3b7c6f02a19",
"name": "Net 45",
"type": "net",
"days": 45
},
"invoiceTaxRate": {
"id": "a7e3b1d9-5c28-4f84-92d0-f1b7c6e03a48",
"name": "Regional Tax",
"rate": 6.25
}
}{
"status": 400,
"message": "Parameter 'id' is not a valid UUID."
}{
"status": 403,
"message": "Feature 'Business Units' is not enabled."
}{
"status": 404,
"message": "Object with id 'e8d4c2a1-6f39-4c75-91d0-b3a7e5f18c62' not found."
}Get a business unit
curl --request GET \
--url https://www.ruddr.io/api/workspace/business-units/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.ruddr.io/api/workspace/business-units/{id}"
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/{id}', 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/{id}",
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/{id}"
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/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.ruddr.io/api/workspace/business-units/{id}")
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{
"id": "c5a1e7d3-8f42-4b96-a0d8-f3b7c6e02d19",
"name": "Central Division",
"isActive": true,
"companyName": "Acme Corp - Central",
"streetAddress": "789 Wacker Dr\nChicago, IL 60601",
"invoiceSubject": "Invoice for services rendered - Central",
"invoiceNotes": "Please remit payment within terms.",
"invoiceEmailSubject": "Your invoice from Acme Corp - Central",
"invoiceEmailBody": "Attached is your invoice. Thank you for your continued partnership.",
"invoiceEmailFromName": "Acme Central Billing",
"invoiceEmailReplyTo": "billing-central@acmecorp.com",
"invoiceTaxableItems": [
"services",
"expenses",
"other_items"
],
"createdAt": "2025-09-12T16:42:18.293Z",
"invoicePaymentTerm": {
"id": "f2d8a5c1-4e37-4b90-81d6-e3b7c6f02a19",
"name": "Net 45",
"type": "net",
"days": 45
},
"invoiceTaxRate": {
"id": "a7e3b1d9-5c28-4f84-92d0-f1b7c6e03a48",
"name": "Regional Tax",
"rate": 6.25
}
}{
"status": 400,
"message": "Parameter 'id' is not a valid UUID."
}{
"status": 403,
"message": "Feature 'Business Units' is not enabled."
}{
"status": 404,
"message": "Object with id 'e8d4c2a1-6f39-4c75-91d0-b3a7e5f18c62' not found."
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The business unit uuid.
Response
200
The unique identifier for the object.
The name of the business unit.
Whether the business unit is active.
The company name displayed on invoices for this business unit.
The street address displayed on invoices for this business unit.
The default subject line for invoices.
The default notes for invoices.
The default email subject when sending invoices.
The default email body when sending invoices.
The sender name used when emailing invoices.
The reply-to email address used when emailing invoices.
The types of invoice line items that are taxable.
services, expenses, products, other_items The timestamp when the object was created.
The default payment term for invoices.
Show child attributes
Show child attributes
The default tax rate for invoices.
Show child attributes
Show child attributes