WorkOS · Schema

CreateUserlandMagicCodeAndReturnDto

AuthenticationIdentity ProviderSSOSAMLOIDCSCIMDirectory SyncAuthorizationFGAAudit LogsMFAB2B SaaSAgentsMCP

Properties

Name Type Description
email string The email address to send the magic code to.
invitation_token string The invitation token to associate with this magic code.
View JSON Schema on GitHub

JSON Schema

workos-createuserlandmagiccodeandreturndto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateUserlandMagicCodeAndReturnDto",
  "title": "CreateUserlandMagicCodeAndReturnDto",
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "description": "The email address to send the magic code to.",
      "example": "[email protected]"
    },
    "invitation_token": {
      "type": "string",
      "description": "The invitation token to associate with this magic code.",
      "example": "Z1Y2X3W4V5U6T7S8R9Q0P1O2N3"
    }
  },
  "required": [
    "email"
  ]
}