Invite a workspace user
Creates a workspace user record or promotes an existing imported profile, then sends an invitation email.
POST
/api/usersCreates a workspace user record or promotes an existing imported profile, then sends an invitation email.
Request Body
application/json
Request payload for Invite a workspace user.
workspaceUserId?|
Existing workspace user profile to promote into an invitation.
name*string
Display name for the invited workspace user.
Length
1 <= lengthemail*string
Email address used for the invitation.
Example
"jane@example.com"description?|
Optional description shown in the workspace user list.
defaultRole*string
Initial workspace role assigned to the user.
Value in
"default" | "admin" | "collaborator" | "sales_executive" | "view_only" | "price_manager" | "product_media_manager"Example
"default"[key: string]?never
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json