Add team member
Team Members
Add Team Member
POST
Add team member
Overview
Add a new or existing user to a tenant. If the user doesn’t exist, a new account will be created automatically.Authorization
- User must be authenticated with a valid Bearer token
- User must have ADMIN role in the specified tenant
Behavior
- If the email doesn’t exist in the system, creates a new user account
- If the user exists, adds them to the tenant with the specified role
- Sets
is_activeto true and updateslast_active_at - Fires a
UserRegisteredevent for webhook integrations
Validation Rules
email: Required, must be a valid email formatrole: Required, must be either “ADMIN” or “MEMBER”
Example Usage
Error Responses
Already a Member (400)
Validation Error (422)
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Tenant ID
Body
application/json
Response
200 - application/json
Member added