Skip to main content
POST
Invite someone to a client workspace
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 the permissions you list.
Inviting an email that already has a pending invitation or is already a member returns 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

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
email
string
required
Example:

"ann@example.com"

role
enum<string>
required
Available options:
ADMIN,
MEMBER
permissions
string[]

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:

Response

id
string
required
Example:

"cmb1x2y3z0000inv1"

email
string
required
Example:

"ann@example.com"

role
enum<string>
required
Available options:
ADMIN,
MEMBER
permissions
string[]
required
Example:
status
enum<string>
required
Available options:
PENDING,
ACCEPTED,
DECLINED,
EXPIRED,
EMAIL_FAILED
expiresAt
string
required
Example:

"2026-11-25T00:00:00.000Z"

createdAt
string
required
Example:

"2026-11-18T00:00:00.000Z"