Skip to main content
POST
Add User To Workspace

Authorizations

Authorization
string
header
required

Aspect API key (sk_...) in Authorization header. 'Bearer ' optional.

Path Parameters

workspace_id
string<uuid>
required

Body

application/json

Add a person to a workspace. If the email has no Aspect account yet, the person is invited.

email
string
required

Email of the user to add to workspace

role
enum<string>
default:member

Role to assign to the user (must be a workspace role: owner, member, member_limited)

Available options:
owner,
member,
member_limited
purchase_seat
boolean
default:false

Buy a seat if none is free (prorated, charged now). Ignored when a seat is free.

Response

Successful Response

API response schema for a workspace user.

id
string<uuid>
required

User ID

first_name
string
required

User's first name

last_name
string
required

User's last name

email
string
required

User's email address

role
enum<string>
required

User's workspace role

Available options:
owner,
member,
member_limited
avatar_url
string | null

User's avatar URL