Authorized users
Create authorized user
Changed onAdds a user to an account's team as an authorized user with the given role.
Required permissions:
- authorized_user:create
- member:email:read
post/authorized_users
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/authorized_users
- Auth: HTTP bearer
Request body
Example request
{
"account_id": "biz_xxxxxxxxxxxxxx",
"user_id": "user_xxxxxxxxxxxxx"
}Response
A successful response
Example response
{
"company": {
"id": "biz_xxxxxxxxxxxxxx",
"title": "Pickaxe"
},
"id": "ausr_xxxxxxxxxxxxx",
"user": {
"email": "john.doe@example.com",
"id": "user_xxxxxxxxxxxxx",
"name": "John Doe",
"username": "johndoe42"
}
}Changes
- warning
added the new
partnerenum value to theresponse property for the response status - info
added the new
partnerenum value to the request property
- warning
- breaking
added the new required request property
- warning
removed the request property
- breaking