Auth0 events API

The events API from Auth0 — 1 operation(s) for events.

Operations 1

GET /events Subscribe to Events Via Server-Sent Events (SSE) #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/auth0-events-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

auth0-events-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Auth0 Management Events API
  description: Auth0 Management API v2.
  termsOfService: https://auth0.com/web-terms/
  contact:
    name: Auth0 Support
    url: https://support.auth0.com
  version: '2.0'
servers:
- url: https://{tenantDomain}/api/v2
  variables:
    tenantDomain:
      default: '{TENANT}.auth0.com'
      description: Auth0 Tenant Domain
security:
- bearerAuth: []
tags:
- name: events
paths:
  /events:
    get:
      summary: Subscribe to Events Via Server-Sent Events (SSE)
      description: Subscribe to events via Server-Sent Events (SSE)
      tags:
      - events
      parameters:
      - name: from
        in: query
        description: Opaque token representing position in the stream. If not provided, stream will start from the latest events.
        schema:
          type: string
          maxLength: 1024
      - name: from_timestamp
        in: query
        description: RFC-3339 timestamp indicating where to start streaming events from. This should only be used on the initial query when a cursor may not be available. Subsequent requests should use the cursor (from) as it will be more accurate.
        schema:
          type: string
          maxLength: 20
      - name: event_type
        in: query
        description: Event type(s) to listen for. Specify multiple times for multiple types (e.g., ?event_type=user.created&event_type=user.updated). If not provided, all event types will be streamed.
        style: form
        explode: true
        schema:
          $ref: '#/components/schemas/EventStreamSubscribeEventsEventTypeParam'
      responses:
        '200':
          description: Event stream successfully established.
          content:
            text/event-stream:
              schema:
                $ref: '#/components/schemas/EventStreamSubscribeEventsResponseContent'
        '400':
          description: Invalid cursor format.
          x-description-1: Unsupported event type.
          x-description-2: Invalid request query string. The message will vary depending on the cause.
        '401':
          description: Invalid token.
          x-description-1: Invalid signature received for JSON Web Token validation.
          x-description-2: Client is not global.
        '403':
          description: Maximum concurrent event stream connections reached. Please close existing connections.
          x-description-1: 'Insufficient scope; expected any of: read:events.'
        '404':
          description: Not found
        '410':
          description: Cursor points to data no longer available in the stream.
        '429':
          description: Too many requests. Check the X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
      operationId: subscribe_events
      x-release-lifecycle: GA
      x-operation-name: subscribe
      x-operation-request-parameters-name: SubscribeEventsRequestParameters
      x-operation-group: events
      security:
      - bearerAuth: []
      - oAuth2ClientCredentials:
        - read:events
components:
  schemas:
    EventStreamCloudEventOrgCreated:
      type: object
      description: SSE message for organization.created.
      additionalProperties: false
      required:
      - type
      - offset
      - event
      properties:
        type:
          $ref: '#/components/schemas/EventStreamCloudEventOrgCreatedTypeEnum'
        offset:
          type: string
          description: Opaque cursor representing position in the stream. Pass as the `from` query parameter to resume.
        event:
          $ref: '#/components/schemas/EventStreamCloudEventOrgCreatedCloudEvent'
    EventStreamCloudEventGroupRoleDeletedObjectGroup0TypeEnum:
      type: string
      description: The type of the group.
      enum:
      - connection
    EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialIsSocialEnum:
      type: boolean
      enum:
      - true
    EventStreamCloudEventGroupUpdatedObject1:
      type: object
      description: Organization group with updated_at timestamp
      additionalProperties: false
      required:
      - id
      - name
      - created_at
      - type
      - organization_id
      - updated_at
      properties:
        id:
          type: string
          description: The unique identifier for the group.
          pattern: grp_[1-9a-km-zA-HJ-NP-Z]{14,22}
        name:
          type: string
          description: The name of the group.
        external_id:
          type: string
          description: The external identifier for the group.
        created_at:
          type: string
          description: Date and time when this entity was created (ISO_8601 format).
          format: date-time
        type:
          $ref: '#/components/schemas/EventStreamCloudEventGroupUpdatedObject1TypeEnum'
        organization_id:
          type: string
          description: The organization ID associated with the group.
          pattern: org_[a-zA-Z0-9]{16}
        updated_at:
          type: string
          description: Date and time when this entity was last updated/modified (ISO_8601 format).
          format: date-time
    EventStreamCloudEventGroupRoleDeletedObjectGroup:
      description: The group the role is removed from.
      oneOf:
      - $ref: '#/components/schemas/EventStreamCloudEventGroupRoleDeletedObjectGroup0'
      - $ref: '#/components/schemas/EventStreamCloudEventGroupRoleDeletedObjectGroup1'
      - $ref: '#/components/schemas/EventStreamCloudEventGroupRoleDeletedObjectGroup2'
    EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessProviderEnum:
      type: string
      description: List of passwordless identity providers.
      enum:
      - email
      - sms
    EventStreamCloudEventOrgCreatedObjectMetadata:
      type: object
      description: The metadata associated with the organization.
      additionalProperties: true
      properties: {}
    EventStreamCloudEventUserDeletedObjectIdentitiesItemSocial:
      type: object
      description: The identity object for social identity providers.
      additionalProperties: false
      required:
      - connection
      - user_id
      - provider
      - isSocial
      properties:
        connection:
          type: string
          description: Name of the connection containing this identity.
          pattern: ^[a-zA-Z0-9](-[a-zA-Z0-9]|[a-zA-Z0-9])*$
        user_id:
          $ref: '#/components/schemas/EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialUserId'
        profileData:
          $ref: '#/components/schemas/EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialProfileData'
        provider:
          $ref: '#/components/schemas/EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialProviderEnum'
        isSocial:
          $ref: '#/components/schemas/EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialIsSocialEnum'
    EventStreamCloudEventOrgGroupRoleDeletedObjectGroup:
      description: The group the role is removed from.
      oneOf:
      - $ref: '#/components/schemas/EventStreamCloudEventOrgGroupRoleDeletedObjectGroup0'
      - $ref: '#/components/schemas/EventStreamCloudEventOrgGroupRoleDeletedObjectGroup1'
      - $ref: '#/components/schemas/EventStreamCloudEventOrgGroupRoleDeletedObjectGroup2'
    EventStreamCloudEventGroupRoleAssignedTypeEnum:
      type: string
      description: The event type (injected from the SSE event field).
      enum:
      - group.role.assigned
    EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase:
      type: object
      description: The identity object for database identity providers.
      additionalProperties: false
      required:
      - connection
      - user_id
      - provider
      - isSocial
      properties:
        connection:
          type: string
          description: Name of the connection containing this identity.
          pattern: ^[a-zA-Z0-9](-[a-zA-Z0-9]|[a-zA-Z0-9])*$
        user_id:
          $ref: '#/components/schemas/EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseUserId'
        profileData:
          $ref: '#/components/schemas/EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseProfileData'
        provider:
          $ref: '#/components/schemas/EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseProviderEnum'
        isSocial:
          $ref: '#/components/schemas/EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseIsSocialEnum'
    EventStreamCloudEventGroupMemberDeletedObjectMember0MemberTypeEnum:
      type: string
      description: Type discriminator for user members
      enum:
      - user
    EventStreamCloudEventGroupCreatedObject2TypeEnum:
      type: string
      description: The type of the group.
      enum:
      - tenant
    EventStreamCloudEventUserCreatedData:
      type: object
      description: The event payload.
      additionalProperties: false
      required:
      - object
      properties:
        object:
          $ref: '#/components/schemas/EventStreamCloudEventUserCreatedObject'
        context:
          $ref: '#/components/schemas/EventStreamCloudEventContext'
    EventStreamCloudEventOrgMemberAdded:
      type: object
      description: SSE message for organization.member.added.
      additionalProperties: false
      required:
      - type
      - offset
      - event
      properties:
        type:
          $ref: '#/components/schemas/EventStreamCloudEventOrgMemberAddedTypeEnum'
        offset:
          type: string
          description: Opaque cursor representing position in the stream. Pass as the `from` query parameter to resume.
        event:
          $ref: '#/components/schemas/EventStreamCloudEventOrgMemberAddedCloudEvent'
    EventStreamCloudEventOrgUpdatedCloudEvent:
      type: object
      description: Represents an event that occurs when an organization is updated.
      additionalProperties: false
      required:
      - specversion
      - type
      - source
      - id
      - time
      - data
      - a0tenant
      - a0stream
      properties:
        specversion:
          type: string
          description: The version of the CloudEvents specification which the event uses.
        type:
          $ref: '#/components/schemas/EventStreamCloudEventOrgUpdatedCloudEventTypeEnum'
        source:
          type: string
          description: The source of the event. This will take the form 'urn:auth0:<tenant>.<domain>'.
        id:
          type: string
          description: A unique identifier for the event.
          pattern: evt_[a-zA-Z0-9]{16}
        time:
          type: string
          description: An ISO-8601 timestamp indicating when the event physically occurred.
          format: date-time
        data:
          $ref: '#/components/schemas/EventStreamCloudEventOrgUpdatedData'
        a0tenant:
          type: string
          description: The auth0 tenant ID to which the event is associated.
          minLength: 3
          maxLength: 63
          pattern: '[a-z0-9][-a-z0-9]{1,62}[a-z0-9]'
        a0stream:
          type: string
          description: The auth0 event stream ID of the stream the event was delivered on.
          pattern: est_[a-zA-Z0-9]{16}
        a0purpose:
          $ref: '#/components/schemas/EventStreamCloudEventA0PurposeEnum'
    EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialProviderEnum:
      type: string
      description: List of social identity providers.
      enum:
      - amazon
      - apple
      - dropbox
      - bitbucket
      - auth0-oidc
      - baidu
      - bitly
      - box
      - daccount
      - dwolla
      - evernote-sandbox
      - evernote
      - exact
      - facebook
      - fitbit
      - github
      - google-oauth2
      - instagram
      - line
      - linkedin
      - oauth1
      - oauth2
      - paypal
      - paypal-sandbox
      - planningcenter
      - salesforce-community
      - salesforce-sandbox
      - salesforce
      - shopify
      - soundcloud
      - thirtysevensignals
      - twitter
      - untapped
      - vkontakte
      - weibo
      - windowslive
      - wordpress
      - yahoo
      - yandex
    EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseUserId:
      description: The IDP-specific identifer for the user.
      anyOf:
      - type: string
      - type: integer
    EventStreamCloudEventGroupMemberDeletedObjectGroup:
      description: The group the member belongs to.
      oneOf:
      - $ref: '#/components/schemas/EventStreamCloudEventGroupMemberDeletedObjectGroup0'
      - $ref: '#/components/schemas/EventStreamCloudEventGroupMemberDeletedObjectGroup1'
      - $ref: '#/components/schemas/EventStreamCloudEventGroupMemberDeletedObjectGroup2'
    EventStreamCloudEventOrgMemberRoleAssigned:
      type: object
      description: SSE message for organization.member.role.assigned.
      additionalProperties: false
      required:
      - type
      - offset
      - event
      properties:
        type:
          $ref: '#/components/schemas/EventStreamCloudEventOrgMemberRoleAssignedTypeEnum'
        offset:
          type: string
          description: Opaque cursor representing position in the stream. Pass as the `from` query parameter to resume.
        event:
          $ref: '#/components/schemas/EventStreamCloudEventOrgMemberRoleAssignedCloudEvent'
    EventStreamCloudEventGroupRoleAssignedObjectGroup0:
      type: object
      description: Reference to a connection group
      additionalProperties: false
      required:
      - id
      - type
      - connection_id
      properties:
        id:
          type: string
          description: The unique identifier for the group.
          pattern: grp_[1-9a-km-zA-HJ-NP-Z]{14,22}
        external_id:
          type: string
          description: The external identifier for the group.
        type:
          $ref: '#/components/schemas/EventStreamCloudEventGroupRoleAssignedObjectGroup0TypeEnum'
        connection_id:
          type: string
          description: The connection ID associated with the group.
          pattern: con_[a-zA-Z0-9]{16}
    EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseProviderEnum:
      type: string
      description: List of enterprise identity providers.
      enum:
      - ad
      - adfs
      - google-apps
      - ip
      - office365
      - oidc
      - okta
      - pingfederate
      - samlp
      - sharepoint
      - waad
    EventStreamCloudEventUserCreatedObjectIdentitiesItemSocial:
      type: object
      description: The identity object for social identity providers.
      additionalProperties: false
      required:
      - connection
      - user_id
      - provider
      - isSocial
      properties:
        connection:
          type: string
          description: Name of the connection containing this identity.
          pattern: ^[a-zA-Z0-9](-[a-zA-Z0-9]|[a-zA-Z0-9])*$
        user_id:
          $ref: '#/components/schemas/EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialUserId'
        profileData:
          $ref: '#/components/schemas/EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialProfileData'
        provider:
          $ref: '#/components/schemas/EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialProviderEnum'
        isSocial:
          $ref: '#/components/schemas/EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialIsSocialEnum'
    EventStreamCloudEventGroupUpdated:
      type: object
      description: SSE message for group.updated.
      additionalProperties: false
      required:
      - type
      - offset
      - event
      properties:
        type:
          $ref: '#/components/schemas/EventStreamCloudEventGroupUpdatedTypeEnum'
        offset:
          type: string
          description: Opaque cursor representing position in the stream. Pass as the `from` query parameter to resume.
        event:
          $ref: '#/components/schemas/EventStreamCloudEventGroupUpdatedCloudEvent'
    EventStreamCloudEventGroupMemberDeletedObject:
      type: object
      description: The event content.
      additionalProperties: false
      required:
      - group
      - member
      properties:
        group:
          $ref: '#/components/schemas/EventStreamCloudEventGroupMemberDeletedObjectGroup'
        member:
          $ref: '#/components/schemas/EventStreamCloudEventGroupMemberDeletedObjectMember'
    EventStreamCloudEventGroupMemberDeletedCloudEventTypeEnum:
      type: string
      description: The type of the event which has happened.
      enum:
      - group.member.deleted
    EventStreamCloudEventGroupRoleAssignedObjectGroup1TypeEnum:
      type: string
      description: The type of the group.
      enum:
      - organization
    EventStreamCloudEventOrgMemberRoleDeleted:
      type: object
      description: SSE message for organization.member.role.deleted.
      additionalProperties: false
      required:
      - type
      - offset
      - event
      properties:
        type:
          $ref: '#/components/schemas/EventStreamCloudEventOrgMemberRoleDeletedTypeEnum'
        offset:
          type: string
          description: Opaque cursor representing position in the stream. Pass as the `from` query parameter to resume.
        event:
          $ref: '#/components/schemas/EventStreamCloudEventOrgMemberRoleDeletedCloudEvent'
    EventStreamCloudEventGroupMemberAddedObjectMember0:
      type: object
      description: A group member of member_type user
      additionalProperties: false
      required:
      - member_type
      - id
      properties:
        member_type:
          $ref: '#/components/schemas/EventStreamCloudEventGroupMemberAddedObjectMember0MemberTypeEnum'
        id:
          type: string
          description: The user's unique identifier
    EventStreamCloudEventOrgDeleted:
      type: object
      description: SSE message for organization.deleted.
      additionalProperties: false
      required:
      - type
      - offset
      - event
      properties:
        type:
          $ref: '#/components/schemas/EventStreamCloudEventOrgDeletedTypeEnum'
        offset:
          type: string
          description: Opaque cursor representing position in the stream. Pass as the `from` query parameter to resume.
        event:
          $ref: '#/components/schemas/EventStreamCloudEventOrgDeletedCloudEvent'
    EventStreamCloudEventOrgConnectionUpdated:
      type: object
      description: SSE message for organization.connection.updated.
      additionalProperties: false
      required:
      - type
      - offset
      - event
      properties:
        type:
          $ref: '#/components/schemas/EventStreamCloudEventOrgConnectionUpdatedTypeEnum'
        offset:
          type: string
          description: Opaque cursor representing position in the stream. Pass as the `from` query parameter to resume.
        event:
          $ref: '#/components/schemas/EventStreamCloudEventOrgConnectionUpdatedCloudEvent'
    EventStreamCloudEventGroupCreatedObject1TypeEnum:
      type: string
      description: The type of the group.
      enum:
      - organization
    EventStreamCloudEventOrgMemberRoleDeletedObjectUser:
      type: object
      description: The user that is a member of the organization.
      additionalProperties: true
      required:
      - user_id
      properties:
        user_id:
          type: string
          description: ID of the user which can be used when interacting with other APIs.
    EventStreamCloudEventOrgMemberRoleAssignedObject:
      type: object
      description: The event content.
      additionalProperties: false
      required:
      - organization
      - user
      - role
      properties:
        organization:
          $ref: '#/components/schemas/EventStreamCloudEventOrgMemberRoleAssignedObjectOrganization'
        user:
          $ref: '#/components/schemas/EventStreamCloudEventOrgMemberRoleAssignedObjectUser'
        role:
          $ref: '#/components/schemas/EventStreamCloudEventOrgMemberRoleAssignedObjectRole'
    EventStreamCloudEventUserUpdatedCloudEventTypeEnum:
      type: string
      description: The type of the event which has happened.
      enum:
      - user.updated
    EventStreamCloudEventOrgGroupRoleDeletedObjectGroup1TypeEnum:
      type: string
      description: The type of the group.
      enum:
      - organization
    EventStreamCloudEventOrgGroupRoleAssignedCloudEventTypeEnum:
      type: string
      description: The type of the event which has happened.
      enum:
      - organization.group.role.assigned
    EventStreamCloudEventOrgMemberRoleDeletedTypeEnum:
      type: string
      description: The event type (injected from the SSE event field).
      enum:
      - organization.member.role.deleted
    EventStreamCloudEventOrgGroupRoleAssignedTypeEnum:
      type: string
      description: The event type (injected from the SSE event field).
      enum:
      - organization.group.role.assigned
    EventStreamCloudEventGroupDeletedObject1:
      type: object
      description: Organization group with updated_at timestamp
      additionalProperties: false
      required:
      - id
      - name
      - created_at
      - type
      - organization_id
      - updated_at
      properties:
        id:
          type: string
          description: The unique identifier for the group.
          pattern: grp_[1-9a-km-zA-HJ-NP-Z]{14,22}
        name:
          type: string
          description: The name of the group.
        external_id:
          type: string
          description: The external identifier for the group.
        created_at:
          type: string
          description: Date and time when this entity was created (ISO_8601 format).
          format: date-time
        type:
          $ref: '#/components/schemas/EventStreamCloudEventGroupDeletedObject1TypeEnum'
        organization_id:
          type: string
          description: The organization ID associated with the group.
          pattern: org_[a-zA-Z0-9]{16}
        updated_at:
          type: string
          description: Date and time when this entity was last updated/modified (ISO_8601 format).
          format: date-time
    EventStreamCloudEventGroupCreatedObject:
      description: The event content.
      oneOf:
      - $ref: '#/components/schemas/EventStreamCloudEventGroupCreatedObject0'
      - $ref: '#/components/schemas/EventStreamCloudEventGroupCreatedObject1'
      - $ref: '#/components/schemas/EventStreamCloudEventGroupCreatedObject2'
    EventStreamCloudEventOrgMemberRoleAssignedCloudEventTypeEnum:
      type: string
      description: The type of the event which has happened.
      enum:
      - organization.member.role.assigned
    EventStreamCloudEventOrgMemberRoleDeletedObjectRole:
      type: object
      description: The role assigned to the user in the organization.
      additionalProperties: false
      required:
      - id
      - name
      properties:
        id:
          type: string
          description: The ID of the role.
          pattern: rol_[a-zA-Z0-9]{16}
        name:
          type: string
          description: The name of the role.
    EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseIsSocialEnum:
      type: boolean
      enum:
      - false
    EventStreamCloudEventGroupMemberDeletedObjectGroup2:
      type: object
      description: Reference to a tenant group
      additionalProperties: false
      required:
      - id
      - type
      properties:
        id:
          type: string
          description: The unique identifier for the group.
          pattern: grp_[1-9a-km-zA-HJ-NP-Z]{14,22}
        external_id:
          type: string
          description: The external identifier for the group.
        type:
          $ref: '#/components/schemas/EventStreamCloudEventGroupMemberDeletedObjectGroup2TypeEnum'
    EventStreamCloudEventOrgMemberRoleAssignedCloudEvent:
      type: object
      description: Represents an event that occurs when a member is added to an organization.
      additionalProperties: false
      required:
      - specversion
      - type
      - source
      - id
      - time
      - data
      - a0tenant
      - a0stream
      properties:
        specversion:
          type: string
          description: The version of the CloudEvents specification which the event uses.
        type:
          $ref: '#/components/schemas/EventStreamCloudEventOrgMemberRoleAssignedCloudEventTypeEnum'
        source:
          type: string
          description: The source of the event. This will take the form 'urn:auth0:<tenant>.<domain>'.
        id:
          type: string
          description: A unique identifier for the event.
          pattern: evt_[a-zA-Z0-9]{16}
        time:
          type: string
          description: An ISO-8601 timestamp indicating when the event physically occurred.
          format: date-time
        data:
          $ref: '#/components/schemas/EventStreamCloudEventOrgMemberRoleAssignedData'
        a0tenant:
          type: string
          description: The auth0 tenant ID to which the event is associated.
          minLength: 3
          maxLength: 63
          pattern: '[a-z0-9][-a-z0-9]{1,62}[a-z0-9]'
        a0stream:
          type: string
          description: The auth0 event stream ID of the stream the event was delivered on.
          pattern: est_[a-zA-Z0-9]{16}
        a0purpose:
          $ref: '#/components/schemas/EventStreamCloudEventA0PurposeEnum'
    EventStreamCloudEventOrgMemberAddedCloudEventTypeEnum:
      type: string
      description: The type of the event which has happened.
      enum:
      - organization.member.added
    EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom:
      type: object
      description: The identity object for custom identity providers.
      additionalProperties: false
      required:
      - connection
      - user_id
      - provider
      - isSocial
      properties:
        connection:
          type: string
          description: Name of the connection containing this identity.
          pattern: ^[a-zA-Z0-9](-[a-zA-Z0-9]|[a-zA-Z0-9])*$
        user_id:
          $ref: '#/components/schemas/EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomUserId'
        profileData:
          $ref: '#/components/schemas/EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomProfileData'
        provider:
          $ref: '#/components/schemas/EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomProviderEnum'
        isSocial:
          $ref: '#/components/schemas/EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomIsSocialEnum'
    EventStreamCloudEventOrgMemberDeletedObjectUser:
      type: object
      description: The user that is a member of the organization.
      additionalProperties: true
      required:
      - user_id
      properties:
        user_id:
          type: string
          description: ID of the user which can be used when interacting with other APIs.
    EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseUserId:
      description: The IDP-specific identifer for the user.
      anyOf:
      - type: string
      - type: integer
    EventStreamCloudEventUserUpdatedObject:
      type: object
      description: The event content.
      additionalProperties: true
      required:
      - user_id
      - created_at
      - updated_at
      - identities
      properties:
        user_id:
          type: string
          description: ID of the user which can be used when interacting with other APIs.
        email:
          type: string
          description: Email address of this user.
          format: email
        email_verified:
          type: boolean
          description: Whether this email address is verified (true) or unverified (false).
        username:
          type: string
          description: Username of this user.
          minLength: 1
          maxLength: 128
          pattern: ^[a-zA-Z0-9_+\-.!#\$\^`~@']*$
        phone_number:
          type: string
          description: Phone number of this user.
          pattern: ^\+[0-9]{1,15}$
        phone_verified:
          type: boolean
          description: Whether this phone number has been verified (true) or not (false).
        created_at:
          type: string
          description: Date and time when this entity was created (ISO_8601 format).
          format: date-time
        updated_at:
          type: string
          description: Date and time when this entity was last updated/modified (ISO_8601 format).
          format: date-time
        identities:
          type: array
          description: Array of user identity objects when accounts are linked.
          items:
            $ref: '#/components/schemas/EventStreamCloudEventUserUpdatedObjectIdentitiesItem'
        app_metadata:
          $ref: '#/components/schemas/EventStreamCloudEventUserUpdatedObjectAppMetadata'
        user_metadata:
          $ref: '#/components/schemas/EventStreamCloudEventUserUpdatedObjectUserMetadata'
        picture:
          type: string
          description: URL to picture, photo, or avatar of this user.
          format: uri
        name:
          type: string
          description: Name of this user.
          minLength: 1
          maxLength: 300
        nickname:
          type: string
          description: Preferred nickname or alias of this user.
          minLength: 1
          maxLength: 300
        multifactor:
          type: array
          description: List of multi-factor authentication providers with which this user has enrolled.
          items:
            type: string
        last_ip:
          type: string
          description: Last IP address from which this user logged in.
        last_login:
          type: string
          description: Last date and time this user logged in (ISO_8601 format).
          format: date-time
        logins_count:
          type: integer
          description: Total number of logins this user has performed.
        blocked:
          type: boolean
          description: Whether this user was blocked by an administrator (true) or is not (false).
        given_name:
          type: string
          description: Given name/first name/forename of this user.
          minLength: 1
          maxLength: 150
        family_name:
          type: string
          description: Family name/last name/surname of this user.
          minLength: 1
          maxLength: 150
    EventStreamCloudEventOrgConnectionUpdatedCloudEvent:
      type: object
      description: Represents an event that occurs when a organization connection is updated.
      additionalProperties: false
      required:
      - specversion
      - type
      - source
      - id
      - time
      - data
      - a0tenant
      - a0stream
      properties:
        specversion:
          type: string
          description: The version of the CloudEvents specification which the event uses.
        type:
          $ref: '#/components/schemas/EventStreamCloudEventOrgConnectionUpdatedCloudEventTypeEnum'
        source:
          type: string
          description: The source of the event. This will take the form 'urn:auth0:<tenant>.<domain>'.
        id:
          type: string
          description: A unique identifier for the event.
          pattern: evt_[a-zA-Z0-9]{16}
        time:
          type: string
          description: An ISO-8601 timestamp indicating when the event physically occurred.
          format: date-time
        data:
          $ref: '#/components/schemas/EventStreamCloudEventOrgConnectionUpdatedData'
        a0tenant:
          type: string
          description: The auth0 tenant ID to which the event is associated.
          minLength: 3
          maxLength: 63
          pattern: '[a-z0-9][-a-z0-9]{1,62}[a-z0-9]'
        a0stream:
          type: string
          description: The auth0 event stream ID of the stream the event was delivered on.
          pattern: est_[a-zA-Z0-9]{16}
        a0purpose:
          $ref: '#/components/schemas/EventStreamCloudEventA0PurposeEnum'
    EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterpriseProfileData:
      type: object
      description: Profile data for the user.
      additionalProperties: true
      properties:
        email:
          type: string
          description: Email address of this user.
          format: email
        email_verified:
          type: boolean
          description: Whether this email address is verified (true) or unverified (false).
        name:
          type: string
          description: Name of this user.
          minLength: 1
          maxLength: 300
        username:
          type: string
          description: Username of this user.
          minLength: 1
          maxLength: 128
 

# --- truncated at 32 KB (201 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/auth0/refs/heads/main/openapi/auth0-events-api-openapi.yml