Skip to main content
PATCH
Set credit and seat limits
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.
  • creditMode: "NONE" removes the credit limit.
  • creditMode: "MONTHLY" needs monthlyLimit, the credits allowed per billing cycle.
  • creditMode: "FIXED" needs budgetRemaining.
  • seatCap: a number sets the cap, null removes it, and leaving it out keeps the current cap.
Omit creditMode to change only the seat cap.

budgetRemaining is absolute

budgetRemaining means “this client now has exactly N credits left”, not “add N”. Sending the same request twice leaves the same balance, so a billing sync can retry it safely. To add credits, use Top Up Client Workspace. Lowering a seat cap below the senders already connected does not disconnect anyone; it stops new senders from connecting until the count is under the cap. The body rejects unknown properties with 400.

Authorizations

X-API-Key
string
header
required

API key for authentication (prefix: sp_live_ or sp_test_)

Path Parameters

id
string
required

Client workspace ID

Body

application/json
creditMode
enum<string>

Absent leaves the credit rule untouched (send only seatCap). Changing the mode starts a fresh counter.

Available options:
NONE,
MONTHLY,
FIXED
monthlyLimit
number

MONTHLY: credits per cycle (required).

Required range: x >= 0
Example:

500

budgetRemaining
number

FIXED: what the workspace has left from now on (absolute, so safe to retry): budget = used + budgetRemaining. Use this from a billing sync.

Required range: x >= 0
Example:

300

seatCap
number | null

LinkedIn seat cap; null removes it, absent leaves it unchanged.

Required range: x >= 0
Example:

3

Response

id
string
required
Example:

"cmb1x2y3z0000abcd"

name
string
required
Example:

"Acme Corp"

note
string | null
required
Example:

"Retainer client"

creditMode
enum<string>
required

NONE: draws on the pool freely. MONTHLY: an allowance that resets with your plan. FIXED: a budget that only grows by top-ups or limit changes.

Available options:
NONE,
MONTHLY,
FIXED
limit
number | null
required

Monthly allowance (MONTHLY) or budget granted so far (FIXED); null for NONE.

Example:

500

used
number
required

Credits spent this cycle (MONTHLY, NONE) or since the budget began (FIXED).

Example:

120

remaining
number | null
required

max(0, limit - used); null for NONE.

Example:

380

exhaustedAt
string | null
required

When the workspace ran out of credits; null while it has some.

Example:

null

seatCap
number | null
required

LinkedIn seat cap; null = no cap.

Example:

3

seatsUsed
number
required

Connected LinkedIn senders.

Example:

1

members
number
required

Active members, not counting you.

Example:

2

invited
number
required

Pending, unexpired invitations.

Example:

1