Skip to main content
Glama

invite-user

Create and invite new users to your Descope project with customizable login options, role assignments, and invitation templates for secure user onboarding.

Instructions

Create and invite a new user to the Descope project

Input Schema

NameRequiredDescriptionDefault
loginIdYesPrimary login identifier for the user
additionalLoginIdsNoAdditional login identifiers
emailNoUser's email address
verifiedEmailNoWhether the email is pre-verified
phoneNoUser's phone number in E.164 format
verifiedPhoneNoWhether the phone is pre-verified
displayNameNoUser's display name
givenNameNoUser's given/first name
middleNameNoUser's middle name
familyNameNoUser's family/last name
pictureNoURL to user's profile picture
rolesNoGlobal role names to assign to the user
userTenantsNoTenant associations with specific roles
ssoAppIdsNoSSO application IDs to associate
customAttributesNoCustom attributes for the user
inviteUrlNoCustom URL for the invitation link
sendMailNoSend invite via email (default follows project settings)
sendSMSNoSend invite via SMS (default follows project settings)
templateIdNoCustom template ID for the invitation
templateOptionsNoOptions for customizing the invitation template

Input Schema (JSON Schema)

{ "properties": { "additionalLoginIds": { "description": "Additional login identifiers", "items": { "type": "string" }, "type": "array" }, "customAttributes": { "additionalProperties": {}, "description": "Custom attributes for the user", "type": "object" }, "displayName": { "description": "User's display name", "type": "string" }, "email": { "description": "User's email address", "format": "email", "type": "string" }, "familyName": { "description": "User's family/last name", "type": "string" }, "givenName": { "description": "User's given/first name", "type": "string" }, "inviteUrl": { "description": "Custom URL for the invitation link", "format": "uri", "type": "string" }, "loginId": { "description": "Primary login identifier for the user", "type": "string" }, "middleName": { "description": "User's middle name", "type": "string" }, "phone": { "description": "User's phone number in E.164 format", "type": "string" }, "picture": { "description": "URL to user's profile picture", "format": "uri", "type": "string" }, "roles": { "description": "Global role names to assign to the user", "items": { "type": "string" }, "type": "array" }, "sendMail": { "description": "Send invite via email (default follows project settings)", "type": "boolean" }, "sendSMS": { "description": "Send invite via SMS (default follows project settings)", "type": "boolean" }, "ssoAppIds": { "description": "SSO application IDs to associate", "items": { "type": "string" }, "type": "array" }, "templateId": { "description": "Custom template ID for the invitation", "type": "string" }, "templateOptions": { "additionalProperties": false, "description": "Options for customizing the invitation template", "properties": { "appUrl": { "description": "Application URL to use in the template", "format": "uri", "type": "string" }, "customClaims": { "description": "Custom claims to include in the template (as JSON string)", "type": "string" }, "redirectUrl": { "description": "URL to redirect after authentication", "format": "uri", "type": "string" } }, "type": "object" }, "userTenants": { "description": "Tenant associations with specific roles", "items": { "additionalProperties": false, "properties": { "roleNames": { "items": { "type": "string" }, "type": "array" }, "tenantId": { "type": "string" } }, "required": [ "tenantId", "roleNames" ], "type": "object" }, "type": "array" }, "verifiedEmail": { "description": "Whether the email is pre-verified", "type": "boolean" }, "verifiedPhone": { "description": "Whether the phone is pre-verified", "type": "boolean" } }, "required": [ "loginId" ], "type": "object" }

Other Tools from Descope MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/descope-sample-apps/descope-mcp-server'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server