Invite User
Changed onSends an email invitation to join your workspace to the provided email. If the user doesn't have an account they will be prompted to create one. If the user accepts this invite they will be added as a user to your workspace and your subscription using one of your seats. This endpoint may only be called by workspace members with the WORKSPACE_MEMBERS_INVITE permission. If the user is already in the workspace a 400 error will be returned.
Request
- Base URLhttps://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.elevenlabs.io/v1/workspace/invites/add
- Authnone declared
Headers
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Request body
Example request
{
"email": "john.doe@testmail.com",
"workspace_permission": "workspace_member",
"group_ids": [
"group_id_1",
"group_id_2"
],
"usage_limit": 5000
}Response
Successful Response
Example response
{
"status": "ok"
}Changes
- info
added the new optional request property
- info
- breaking
removed the enum value
adminof the request property/ - breaking
removed the enum value
convai_adminof the request property/ - breaking
removed the enum value
enterprise_viewerof the request property/ - breaking
removed the enum value
externalof the request property/ - breaking
removed the enum value
human_reviewerof the request property/ - breaking
removed the enum value
moderatorof the request property/ - breaking
removed the enum value
productions_adminof the request property/ - breaking
removed the enum value
quality_check_adminof the request property/ - breaking
removed the enum value
salesof the request property/ - breaking
removed the enum value
support_l1of the request property/ - breaking
removed the enum value
support_l2of the request property/ - breaking
removed the enum value
voice_adminof the request property/ - breaking
removed the enum value
voice_mixerof the request property/ - breaking
removed the enum value
workspace_adminof the request property/ - breaking
removed the enum value
workspace_memberof the request property/ - breaking
removed the enum value
workspace_migration_adminof the request property/ - info
api operation id
Invite_user_v1_workspace_invites_add_postremoved and replaced withinvite_user - info
added the new optional request property
- info
request property
deprecated
- breaking