Reference
Seats, team, client workspaces and AI SDR
Everything on the app's Accounts page, Team settings and AI SDR settings, plus one workspace per client for agencies. Changes need a Read + write key and are logged against the key that made them.
LinkedIn seats
Every seat with its status and health, limits, what it sent today, warm-up, Sales Navigator and any cooldown. The same data as the Accounts page.
| Call | What it does |
|---|---|
PATCH /seats/{id} | Change limits and warm-up (body on the right). Limits above the platform's safe ceilings are refused. |
DELETE /seats/{id}?confirm_name=… | Disconnect the seat: it leaves every campaign and its login is removed. Cannot be undone. The seat's exact name must match, so a wrong id never disconnects a seat. |
POST /seats/{id}/reconnect-link | A login link on connect.gelee.ai for the seat's owner to reconnect. Valid 15 minutes, and the seat lands back in this workspace. |
Add a new seat in the app, or from code with POST /tools/seat_connect (a login link) or POST /tools/seat_connect_cookie with the account's li_at cookie. Your plan's seat count is checked either way.
curl -X PATCH "https://www.gelee.ai/api/v1/seats/SExF…" \
-H "Authorization: Bearer gk_your_key" \
-H "Content-Type: application/json" \
-d '{
"weekly": {
"connections": 120,
"messages": 300
},
"warm_up": true
}'AI SDR settings
How the AI SDR replies: mode (approval or autopilot), knowledge base, objection answers (including ones it added itself), follow-ups, voice, ICP and filter sets. ?section= narrows it.
| PATCH /sdr/{section} | Changes |
|---|---|
replies | Reply mode (approval or autopilot) and reply rules. |
knowledge | Add, change or remove knowledge-base entries. |
objections | Objection answers, including auto-added ones. |
follow_ups | The follow-up ladder. |
The body is that section's input as GET /tools documents it (sdr_set_replies, sdr_set_knowledge, sdr_set_objections, sdr_set_followups).
curl "https://www.gelee.ai/api/v1/sdr?section=replies" \
-H "Authorization: Bearer gk_your_key"Teammates
Same rules as Settings, Team: owners cannot be removed or changed here.
curl -X POST "https://www.gelee.ai/api/v1/team" \
-H "Authorization: Bearer gk_your_key" \
-H "Content-Type: application/json" \
-d '{
"action": "invite",
"email": "sam@acme.com",
"role": "member"
}'Client workspaces, for agencies
An agency runs one Gelee workspace per client. Send the clients' websites and Gelee makes a workspace for each: created at once, with your workspace's owners and admins already inside, and within about a minute its logo, knowledge base and ideal-customer profile read from the site, and its name as the site brands it. A client with no website gets a few lines instead. Then connect seats and build campaigns in each one as usual.
The answer lists created (name, website, workspace_id), failed and skipped: a client you already have a workspace for (same website or name), or one listed twice, is skipped and named, never made twice. GET /workspaces lists your client workspaces with their websites, when and by whom each was made, and the workspace this one belongs to if it is itself a client workspace.
Client workspaces ride your plan: every seat across the agency and its client workspaces counts against the agency's seat total, split however you like (two seats in one client, five in another), and there is no separate bill. An API key belongs to one workspace, so make a key inside each client workspace (Settings, Integrations, API Keys) for the system that will serve only that client; your agency key cannot read a client's data. In the app every client workspace shows Client of your agency in the workspace switcher.
curl -X POST "https://www.gelee.ai/api/v1/workspaces" \
-H "Authorization: Bearer gk_your_key" \
-H "Content-Type: application/json" \
-d '{
"clients": [
{
"website": "acme.com"
},
{
"website": "northwind.io",
"name": "Northwind"
},
{
"name": "Blue Harbor",
"blurb": "Boutique M&A advisory for founders selling a company between $5M and $50M."
}
]
}'Every assistant tool over REST
GET /tools lists every tool the in-app assistant has that your key can call, each with its JSON input schema. POST /tools/{name} runs one with that JSON as the body. Use it for anything without a friendlier route: connecting LinkedIn accounts (seat_connect_cookie), AI variables, ICP, calendars and integrations, settings, reports, LinkedIn posts and more. Every button in the app has a tool.
In the app the assistant asks before it changes anything. On the API your request is the confirmation, so a change is applied in the same call. A read key sees read tools only, and tools that message people are marked needs_send.
curl -X POST "https://www.gelee.ai/api/v1/tools/campaign_edit" \
-H "Authorization: Bearer gk_your_key" \
-H "Content-Type: application/json" \
-d '{
"campaign_id": "9a2c…",
"name": "Q4 Founders (EU)"
}'