Invite a user to your workspace
Send an invitation email to a new workspace member.
- Returns **201** on first invite, **200** on resend (same email, pending invite).
- **409** if the email already belongs to a user in this workspace.
- **404** if `profile_id` (or legacy `role_id`) is provided but not found in this tenant.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
email
profile_id
role_id
Response
Successful Response
id
email
invited_by
expires_at
accepted_at
revoked_at
created_at
profile_id
role_id
Errors
422
Unprocessable Entity Error