New You can now run your Gelee campaigns from Claude, ChatGPT or Cursor. Read the docs →

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.

Last updated 27 October 2026

LinkedIn seats

GET/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.

CallWhat 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-linkA login link on connect.gelee.ai for the seat's owner to reconnect. Valid 15 minutes, and the seat lands back in this workspace.
PATCH body
weeklyobject
connections, messages, openProfiles, paidInmails, profileViews, companyViews, scrapes, comments, searchesMonthly.
warm_upboolean
Ramp a new or rested seat up slowly.
prioritystring
primary, standard or warmup.

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

GET/sdr

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
repliesReply mode (approval or autopilot) and reply rules.
knowledgeAdd, change or remove knowledge-base entries.
objectionsObjection answers, including auto-added ones.
follow_upsThe 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

POST/teamread_write
Body
actionstringrequired
invite, set_role or remove.
emailstringrequired
The teammate.
rolestring
admin, member, ambo or connector. The role decides what they can do in the app and the API.

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

POST/workspacesread_write

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.

Body
clientsarrayrequired
One entry per client, up to 300 per call. There is no limit on how many client workspaces you can have.
clients[].websitestring
The client's site. Read for the name, logo, knowledge base and ICP.
clients[].namestring
Optional with a website: the site names them.
clients[].blurbstring
A few lines about the client. Required when there is no website; useful alongside one.

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.

Seats and keys

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

POST/tools/{name}

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.

The request is the go-ahead

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)"
  }'