List a client workspace's invitations
curl --request GET \
--url https://api.sendler.ai/v1/client-workspaces/{id}/invitations \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.sendler.ai/v1/client-workspaces/{id}/invitations"
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/{id}/invitations', 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/{id}/invitations",
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/{id}/invitations"
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/{id}/invitations")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sendler.ai/v1/client-workspaces/{id}/invitations")
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{
"invitations": [
{
"id": "cmb1x2y3z0000inv1",
"email": "ann@example.com",
"role": "ADMIN",
"permissions": [
"ALLOW_UNIBOX"
],
"status": "PENDING",
"expiresAt": "2026-11-25T00:00:00.000Z",
"createdAt": "2026-11-18T00:00:00.000Z"
}
]
}Client Workspaces
List Client Workspace Invitations
The invitations sent for a client workspace, with their role and status.
GET
/
v1
/
client-workspaces
/
{id}
/
invitations
List a client workspace's invitations
curl --request GET \
--url https://api.sendler.ai/v1/client-workspaces/{id}/invitations \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.sendler.ai/v1/client-workspaces/{id}/invitations"
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/{id}/invitations', 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/{id}/invitations",
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/{id}/invitations"
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/{id}/invitations")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sendler.ai/v1/client-workspaces/{id}/invitations")
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{
"invitations": [
{
"id": "cmb1x2y3z0000inv1",
"email": "ann@example.com",
"role": "ADMIN",
"permissions": [
"ALLOW_UNIBOX"
],
"status": "PENDING",
"expiresAt": "2026-11-25T00:00:00.000Z",
"createdAt": "2026-11-18T00:00:00.000Z"
}
]
}Requires
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.
Each invitation has its email, role, permissions, status and expiresAt. Invitations are valid for 7 days.