Invite someone to a client workspace
curl --request POST \
--url https://api.sendler.ai/v1/client-workspaces/{id}/invitations \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"email": "ann@example.com",
"permissions": [
"ALLOW_UNIBOX"
]
}
'import requests
url = "https://api.sendler.ai/v1/client-workspaces/{id}/invitations"
payload = {
"email": "ann@example.com",
"permissions": ["ALLOW_UNIBOX"]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({email: 'ann@example.com', permissions: ['ALLOW_UNIBOX']})
};
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 => "POST",
CURLOPT_POSTFIELDS => json_encode([
'email' => 'ann@example.com',
'permissions' => [
'ALLOW_UNIBOX'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.sendler.ai/v1/client-workspaces/{id}/invitations"
payload := strings.NewReader("{\n \"email\": \"ann@example.com\",\n \"permissions\": [\n \"ALLOW_UNIBOX\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.sendler.ai/v1/client-workspaces/{id}/invitations")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"email\": \"ann@example.com\",\n \"permissions\": [\n \"ALLOW_UNIBOX\"\n ]\n}")
.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::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"email\": \"ann@example.com\",\n \"permissions\": [\n \"ALLOW_UNIBOX\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"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
Invite to Client Workspace
Email an invitation to join a client workspace.
POST
/
v1
/
client-workspaces
/
{id}
/
invitations
Invite someone to a client workspace
curl --request POST \
--url https://api.sendler.ai/v1/client-workspaces/{id}/invitations \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"email": "ann@example.com",
"permissions": [
"ALLOW_UNIBOX"
]
}
'import requests
url = "https://api.sendler.ai/v1/client-workspaces/{id}/invitations"
payload = {
"email": "ann@example.com",
"permissions": ["ALLOW_UNIBOX"]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({email: 'ann@example.com', permissions: ['ALLOW_UNIBOX']})
};
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 => "POST",
CURLOPT_POSTFIELDS => json_encode([
'email' => 'ann@example.com',
'permissions' => [
'ALLOW_UNIBOX'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.sendler.ai/v1/client-workspaces/{id}/invitations"
payload := strings.NewReader("{\n \"email\": \"ann@example.com\",\n \"permissions\": [\n \"ALLOW_UNIBOX\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.sendler.ai/v1/client-workspaces/{id}/invitations")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"email\": \"ann@example.com\",\n \"permissions\": [\n \"ALLOW_UNIBOX\"\n ]\n}")
.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::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"email\": \"ann@example.com\",\n \"permissions\": [\n \"ALLOW_UNIBOX\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"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:manage. 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 invitation is emailed and is valid for 7 days.
role: "ADMIN"gets every permission.role: "MEMBER"gets only thepermissionsyou list.
409. The body rejects unknown properties with 400.
People in a client workspace see only that workspace’s own credit numbers, never your pool.Authorizations
Body
application/json
MEMBER only: the workspace permissions to grant (ALLOW_CONNECT_LINKEDIN_ACCOUNT, ALLOW_LEAD_FINDER, ALLOW_LEAD_EXTRACTION, ALLOW_CREATE_CAMPAIGN, ALLOW_UPDATE_CAMPAIGN, ALLOW_UNIBOX, ALLOW_MANAGE_MEMBERS, ALLOW_MANAGE_SETTINGS, ALLOW_VIEW_PERSONAL_MESSAGES). An ADMIN gets all of them.
Example:
["ALLOW_UNIBOX"]