Skip to main content
POST
Add User To Team

Authorizations

Authorization
string
header
required

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

Path Parameters

team_id
string<uuid>
required

Body

application/json

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

email
string
required

Email of the user to add to team

role
enum<string>
default:editor

The person's role on the team. no_access is rejected.

Available options:
full_access,
editor,
commenter,
downloader,
viewer,
no_access
purchase_seat
boolean
default:false

Buy a seat if none is free (prorated, charged now). Ignored when a seat is free. Only when the person is new to the workspace and you're a workspace admin.

Response

Successful Response

API response schema for a user with team access.

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 effective role on this team

Available options:
full_access,
editor,
commenter,
downloader,
viewer,
no_access
workspace_role
enum<string>
required

User's workspace role

Available options:
owner,
member,
member_limited
has_explicit_permission
boolean
required

True when the person was added to this team. False for workspace owners, who have full access to every team.

avatar_url
string | null

User's avatar URL