List client workspaces
curl --request GET \
--url https://api.sendler.ai/v1/client-workspaces \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.sendler.ai/v1/client-workspaces"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.sendler.ai/v1/client-workspaces', 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.sendler.ai/v1/client-workspaces",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.sendler.ai/v1/client-workspaces"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.sendler.ai/v1/client-workspaces")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sendler.ai/v1/client-workspaces")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"pool": {
"left": 9140,
"total": 10000,
"nextResetDate": "2026-12-01T00:00:00.000Z",
"unlimited": false
},
"seats": {
"used": 4,
"plan": 10
},
"capsSum": 3,
"overcommitted": false,
"workspaces": [
{
"id": "cmb1x2y3z0000abcd",
"name": "Acme Corp",
"note": "Retainer client",
"creditMode": "NONE",
"limit": 500,
"used": 120,
"remaining": 380,
"exhaustedAt": null,
"seatCap": 3,
"seatsUsed": 1,
"members": 2,
"invited": 1
}
]
}Client Workspaces
List Client Workspaces
Every client workspace with its credit rule, usage and LinkedIn seats, plus your credit pool and plan seats.
GET
/
v1
/
client-workspaces
List client workspaces
curl --request GET \
--url https://api.sendler.ai/v1/client-workspaces \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.sendler.ai/v1/client-workspaces"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.sendler.ai/v1/client-workspaces', 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.sendler.ai/v1/client-workspaces",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.sendler.ai/v1/client-workspaces"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.sendler.ai/v1/client-workspaces")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sendler.ai/v1/client-workspaces")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"pool": {
"left": 9140,
"total": 10000,
"nextResetDate": "2026-12-01T00:00:00.000Z",
"unlimited": false
},
"seats": {
"used": 4,
"plan": 10
},
"capsSum": 3,
"overcommitted": false,
"workspaces": [
{
"id": "cmb1x2y3z0000abcd",
"name": "Acme Corp",
"note": "Retainer client",
"creditMode": "NONE",
"limit": 500,
"used": 120,
"remaining": 380,
"exhaustedAt": null,
"seatCap": 3,
"seatsUsed": 1,
"members": 2,
"invited": 1
}
]
}Requires
A workspace with no seat cap has
client_workspaces:read. Requires the master of an active personal (agency) workspace. A key created in a client workspace, or by a non-master, cannot use the client workspace endpoints. If the personal workspace becomes inactive, its keys lose client workspace access.
The response has three parts:
pool: the credits left in your shared pool. Every client workspace spends from it.seats,capsSumandovercommitted: your plan’s LinkedIn seats, the sum of the workspaces’ seat caps, and whether those caps add up to more than your plan has.workspaces: each client workspace withcreditMode,limit,used,remaining,exhaustedAt,seatCapandseatsUsed.
Credit rules
creditMode | Behavior |
|---|---|
NONE | No limit. The workspace draws on your pool freely. limit and remaining are null. This is the default. |
MONTHLY | An allowance that resets with your plan’s billing cycle. |
FIXED | A budget that only grows through top-ups or limit changes. |
seatCap: null. When a workspace runs out, exhaustedAt is set and the workspace.credits_exhausted webhook fires.