WorkOS · Schema

EnrollUserlandUserAuthenticationFactorDto

AuthenticationIdentity ProviderSSOSAMLOIDCSCIMDirectory SyncAuthorizationFGAAudit LogsMFAB2B SaaSAgentsMCP

Properties

Name Type Description
type string The type of the factor to enroll.
totp_issuer string Your application or company name displayed in the user's authenticator app.
totp_user string The user's account name displayed in their authenticator app.
totp_secret string The Base32-encoded shared secret for TOTP factors. This can be provided when creating the auth factor, otherwise it will be generated. The algorithm used to derive TOTP codes is SHA-1, the code length
View JSON Schema on GitHub

JSON Schema

workos-enrolluserlanduserauthenticationfactordto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EnrollUserlandUserAuthenticationFactorDto",
  "title": "EnrollUserlandUserAuthenticationFactorDto",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "The type of the factor to enroll.",
      "example": "totp",
      "const": "totp"
    },
    "totp_issuer": {
      "type": "string",
      "description": "Your application or company name displayed in the user's authenticator app.",
      "example": "WorkOS"
    },
    "totp_user": {
      "type": "string",
      "description": "The user's account name displayed in their authenticator app.",
      "example": "user@example.com"
    },
    "totp_secret": {
      "type": "string",
      "description": "The Base32-encoded shared secret for TOTP factors. This can be provided when creating the auth factor, otherwise it will be generated. The algorithm used to derive TOTP codes is SHA-1, the code length is 6 digits, and the timestep is 30 seconds \u2013 the secret must be compatible with these parameters.",
      "example": "JBSWY3DPEHPK3PXP"
    }
  },
  "required": [
    "type"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/workos-enrolluserlanduserauthenticationfactordto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.