Cal.com Docs home page
Search or ask...
Support
Dashboard
Dashboard
Search...
Navigation
Orgs / Teams / Memberships
Create a membership
Orgs / Teams / Memberships
Create a membership
POST
/
v2
/
organizations
/
{orgId}
/
teams
/
{teamId}
/
memberships
Try it
Path Parameters
orgId
number
required
teamId
number
required
Body
application/json
role
enum<string>
default:
MEMBER
required
Available options:
MEMBER
,
OWNER
,
ADMIN
userId
number
required
accepted
boolean
default:
false
disableImpersonation
boolean
default:
false
Response
201 - application/json
data
object
required
Show child attributes
data.
accepted
boolean
required
data.
id
number
required
data.
role
enum<string>
required
Available options:
MEMBER
,
OWNER
,
ADMIN
data.
teamId
number
required
data.
user
object
required
Show child attributes
data.user.
email
string
required
data.user.
avatarUrl
string
data.user.
name
string
data.user.
username
string
data.
userId
number
required
data.
disableImpersonation
boolean
status
enum<string>
required
Available options:
success
,
error
Was this page helpful?
Yes
No
Suggest edits
Raise issue