Stytch · Schema

api_magic_v1_magic_links_email_LoginOrCreateResponse

AuthenticationIdentityPasswordlessSecurityB2BConnected AppsMCPAI AgentsDeveloper Tools

Properties

Name Type Description
request_id string Globally unique UUID that is returned with every API call. This value is important to log for debugging purposes; we may ask for this value to help identify a specific API call when helping you debug
user_id string The unique ID of the affected User.
email_id string The unique ID of a specific email address.
user_created boolean In `login_or_create` endpoints, this field indicates whether or not a User was just created.
status_code integer The HTTP status code of the response. Stytch follows standard HTTP response status code patterns, e.g. 2XX values equate to success, 3XX values are redirects, 4XX are client errors, and 5XX are server
View JSON Schema on GitHub

JSON Schema

stytch-api-magic-v1-magic-links-email-loginorcreateresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/api_magic_v1_magic_links_email_LoginOrCreateResponse",
  "title": "api_magic_v1_magic_links_email_LoginOrCreateResponse",
  "type": "object",
  "properties": {
    "request_id": {
      "type": "string",
      "description": "Globally unique UUID that is returned with every API call. This value is important to log for debugging purposes; we may ask for this value to help identify a specific API call when helping you debug an issue."
    },
    "user_id": {
      "type": "string",
      "description": "The unique ID of the affected User."
    },
    "email_id": {
      "type": "string",
      "description": "The unique ID of a specific email address."
    },
    "user_created": {
      "type": "boolean",
      "description": "In `login_or_create` endpoints, this field indicates whether or not a User was just created."
    },
    "status_code": {
      "type": "integer",
      "format": "int32",
      "description": "The HTTP status code of the response. Stytch follows standard HTTP response status code patterns, e.g. 2XX values equate to success, 3XX values are redirects, 4XX are client errors, and 5XX are server errors."
    }
  },
  "required": [
    "request_id",
    "user_id",
    "email_id",
    "user_created",
    "status_code"
  ]
}