Auth0 event-streams API

The event-streams API from Auth0 — 7 operation(s) for event-streams.

Operations 10

GET /event-streams Get Event Streams #
POST /event-streams Create an Event Stream #
GET /event-streams/{id} Get an Event Stream by ID #
DELETE /event-streams/{id} Delete an Event Stream #
PATCH /event-streams/{id} Update an Event Stream #
GET /event-streams/{id}/deliveries Get This Event Stream's Delivery History #
GET /event-streams/{id}/deliveries/{event_id} Get a Specific Event's Delivery History #
POST /event-streams/{id}/redeliver Redeliver Failed Events #
POST /event-streams/{id}/redeliver/{event_id} Redeliver a Single Failed Event by ID #
POST /event-streams/{id}/test Send a Test Event to an Event Stream #

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-event-streams-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-event-streams-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Auth0 Management Event Streams 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: event-streams
paths:
  /event-streams:
    get:
      summary: Get Event Streams
      tags:
      - event-streams
      parameters:
      - name: from
        in: query
        description: Optional Id from which to start selection.
        schema:
          type: string
      - name: take
        in: query
        description: Number of results per page. Defaults to 50.
        schema:
          type: integer
          minimum: 1
          maximum: 100
      responses:
        '200':
          description: Event streams successfully retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListEventStreamsResponseContent'
        '400':
          description: Invalid query string paging options. 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: 'Insufficient scope; expected any of: read:event_streams.'
        '429':
          description: Too many requests. Check the X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
      operationId: get_event-streams
      x-release-lifecycle: GA
      x-operation-name: list
      x-operation-request-parameters-name: ListEventStreamsRequestParameters
      x-operation-group: eventStreams
      security:
      - bearerAuth: []
      - oAuth2ClientCredentials:
        - read:event_streams
    post:
      summary: Create an Event Stream
      tags:
      - event-streams
      requestBody:
        content:
          application/json:
            schema:
              oneOf:
              - $ref: '#/components/schemas/CreateEventStreamWebHookRequestContent'
              - $ref: '#/components/schemas/CreateEventStreamEventBridgeRequestContent'
              - $ref: '#/components/schemas/CreateEventStreamActionRequestContent'
          application/x-www-form-urlencoded:
            schema:
              oneOf:
              - $ref: '#/components/schemas/CreateEventStreamWebHookRequestContent'
              - $ref: '#/components/schemas/CreateEventStreamEventBridgeRequestContent'
              - $ref: '#/components/schemas/CreateEventStreamActionRequestContent'
      responses:
        '201':
          description: Event Stream stream created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateEventStreamResponseContent'
        '400':
          description: Invalid request body. 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: 'Insufficient scope; expected any of: create:event_streams.'
        '409':
          description: You have reached the maximum number of event streams for your account OR Event stream name already in use.
        '429':
          description: Too many requests. Check the X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
      operationId: post_event-streams
      x-release-lifecycle: GA
      x-operation-name: create
      x-operation-group: eventStreams
      security:
      - bearerAuth: []
      - oAuth2ClientCredentials:
        - create:event_streams
  /event-streams/{id}:
    get:
      summary: Get an Event Stream by ID
      tags:
      - event-streams
      parameters:
      - name: id
        in: path
        description: Unique identifier for the event stream.
        required: true
        schema:
          type: string
          minLength: 26
          maxLength: 26
      responses:
        '200':
          description: Event stream successfully retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetEventStreamResponseContent'
        '401':
          description: Invalid token.
          x-description-1: Invalid signature received for JSON Web Token validation.
          x-description-2: Client is not global.
        '403':
          description: 'Insufficient scope; expected any of: read:event_streams.'
        '404':
          description: The event stream does not exist.
        '429':
          description: Too many requests. Check the X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
      operationId: get_event-streams_by_id
      x-release-lifecycle: GA
      x-operation-name: get
      x-operation-group: eventStreams
      security:
      - bearerAuth: []
      - oAuth2ClientCredentials:
        - read:event_streams
    delete:
      summary: Delete an Event Stream
      tags:
      - event-streams
      parameters:
      - name: id
        in: path
        description: Unique identifier for the event stream.
        required: true
        schema:
          type: string
          minLength: 26
          maxLength: 26
      responses:
        '204':
          description: The event stream was deleted.
        '400':
          description: Invalid request body. 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: 'Insufficient scope; expected any of: delete:event_streams.'
        '429':
          description: Too many requests. Check the X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
      operationId: delete_event-streams_by_id
      x-release-lifecycle: GA
      x-operation-name: delete
      x-operation-group: eventStreams
      security:
      - bearerAuth: []
      - oAuth2ClientCredentials:
        - delete:event_streams
    patch:
      summary: Update an Event Stream
      tags:
      - event-streams
      parameters:
      - name: id
        in: path
        description: Unique identifier for the event stream.
        required: true
        schema:
          type: string
          minLength: 26
          maxLength: 26
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateEventStreamRequestContent'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/UpdateEventStreamRequestContent'
      responses:
        '200':
          description: Event stream successfully updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateEventStreamResponseContent'
        '400':
          description: Invalid request body. 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: 'Insufficient scope; expected any of: update:event_streams.'
        '429':
          description: Too many requests. Check the X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
      operationId: patch_event-streams_by_id
      x-release-lifecycle: GA
      x-operation-name: update
      x-operation-group: eventStreams
      security:
      - bearerAuth: []
      - oAuth2ClientCredentials:
        - update:event_streams
  /event-streams/{id}/deliveries:
    get:
      summary: Get This Event Stream's Delivery History
      tags:
      - event-streams
      parameters:
      - name: id
        in: path
        description: Unique identifier for the event stream.
        required: true
        schema:
          type: string
          minLength: 26
          maxLength: 26
      - name: statuses
        in: query
        description: Comma-separated list of statuses by which to filter
        schema:
          type: string
      - name: event_types
        in: query
        description: Comma-separated list of event types by which to filter
        schema:
          type: string
      - name: date_from
        in: query
        description: An RFC-3339 date-time for redelivery start, inclusive. Does not allow sub-second precision.
        schema:
          type: string
          maxLength: 20
      - name: date_to
        in: query
        description: An RFC-3339 date-time for redelivery end, exclusive. Does not allow sub-second precision.
        schema:
          type: string
          maxLength: 20
      - name: from
        in: query
        description: Optional Id from which to start selection.
        schema:
          type: string
      - name: take
        in: query
        description: Number of results per page. Defaults to 50.
        schema:
          type: integer
          minimum: 1
          maximum: 100
      responses:
        '200':
          description: Event stream deliveries successfully retrieved.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/EventStreamDelivery'
        '400':
          description: Invalid query string paging options. 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: 'Insufficient scope; expected any of: read:event_streams, read:event_deliveries.'
        '404':
          description: The event stream does not exist.
        '429':
          description: Too many requests. Check the X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
      operationId: get_event_deliveries
      x-release-lifecycle: GA
      x-operation-name: list
      x-operation-request-parameters-name: ListEventStreamDeliveriesRequestParameters
      x-operation-group:
      - eventStreams
      - deliveries
      security:
      - bearerAuth: []
      - oAuth2ClientCredentials:
        - read:event_streams
        - read:event_deliveries
  /event-streams/{id}/deliveries/{event_id}:
    get:
      summary: Get a Specific Event's Delivery History
      tags:
      - event-streams
      parameters:
      - name: id
        in: path
        description: Unique identifier for the event stream.
        required: true
        schema:
          type: string
          minLength: 26
          maxLength: 26
      - name: event_id
        in: path
        description: Unique identifier for the event
        required: true
        schema:
          type: string
          minLength: 26
          maxLength: 26
      responses:
        '200':
          description: Delivery history for event successfully retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetEventStreamDeliveryHistoryResponseContent'
        '401':
          description: Invalid token.
          x-description-1: Invalid signature received for JSON Web Token validation.
          x-description-2: Client is not global.
        '403':
          description: 'Insufficient scope; expected any of: read:event_deliveries.'
        '404':
          description: The event stream does not exist.
          x-description-1: The event does not exist.
        '429':
          description: Too many requests. Check the X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
      operationId: get_deliveries_by_event_id
      x-release-lifecycle: GA
      x-operation-name: getHistory
      x-operation-group:
      - eventStreams
      - deliveries
      security:
      - bearerAuth: []
      - oAuth2ClientCredentials:
        - read:event_deliveries
  /event-streams/{id}/redeliver:
    post:
      summary: Redeliver Failed Events
      tags:
      - event-streams
      parameters:
      - name: id
        in: path
        description: Unique identifier for the event stream.
        required: true
        schema:
          type: string
          minLength: 26
          maxLength: 26
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateEventStreamRedeliveryRequestContent'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CreateEventStreamRedeliveryRequestContent'
      responses:
        '202':
          description: Redelivery request accepted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateEventStreamRedeliveryResponseContent'
        '401':
          description: Invalid token.
          x-description-1: Invalid signature received for JSON Web Token validation.
          x-description-2: Client is not global.
        '403':
          description: 'Insufficient scope; expected any of: update:event_deliveries.'
        '404':
          description: The event stream does not exist.
        '409':
          description: One or more events is not in a state that allows redelivery.
        '429':
          description: Too many requests. Check the X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
      operationId: post_redeliver
      x-release-lifecycle: GA
      x-operation-name: create
      x-operation-group:
      - eventStreams
      - redeliveries
      security:
      - bearerAuth: []
      - oAuth2ClientCredentials:
        - update:event_deliveries
  /event-streams/{id}/redeliver/{event_id}:
    post:
      summary: Redeliver a Single Failed Event by ID
      tags:
      - event-streams
      parameters:
      - name: id
        in: path
        description: Unique identifier for the event stream.
        required: true
        schema:
          type: string
          minLength: 26
          maxLength: 26
      - name: event_id
        in: path
        description: Unique identifier for the event
        required: true
        schema:
          type: string
          minLength: 26
          maxLength: 26
      responses:
        '202':
          description: Redelivery request accepted.
        '401':
          description: Invalid token.
          x-description-1: Invalid signature received for JSON Web Token validation.
          x-description-2: Client is not global.
        '403':
          description: 'Insufficient scope; expected any of: update:event_deliveries.'
        '404':
          description: The event stream does not exist.
          x-description-1: The event does not exist.
        '409':
          description: The event is not in a state that allows redelivery.
        '429':
          description: Too many requests. Check the X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
      operationId: post_redeliver_by_event_id
      x-release-lifecycle: GA
      x-operation-name: createById
      x-operation-group:
      - eventStreams
      - redeliveries
      security:
      - bearerAuth: []
      - oAuth2ClientCredentials:
        - update:event_deliveries
  /event-streams/{id}/test:
    post:
      summary: Send a Test Event to an Event Stream
      tags:
      - event-streams
      parameters:
      - name: id
        in: path
        description: Unique identifier for the event stream.
        required: true
        schema:
          type: string
          minLength: 26
          maxLength: 26
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateEventStreamTestEventRequestContent'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CreateEventStreamTestEventRequestContent'
      responses:
        '202':
          description: Test event successfully submitted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateEventStreamTestEventResponseContent'
        '401':
          description: Invalid token.
          x-description-1: Invalid signature received for JSON Web Token validation.
          x-description-2: Client is not global.
        '403':
          description: 'Insufficient scope; expected any of: update:event_streams.'
        '429':
          description: Too many requests. Check the X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
      operationId: post_test_event
      x-release-lifecycle: GA
      x-operation-name: test
      x-operation-group: eventStreams
      security:
      - bearerAuth: []
      - oAuth2ClientCredentials:
        - update:event_streams
components:
  schemas:
    EventStreamWebhookBasicAuth:
      type: object
      description: 'Basic Authorization for HTTP requests (e.g., ''Basic credentials'').

        '
      additionalProperties: false
      required:
      - method
      - username
      properties:
        method:
          $ref: '#/components/schemas/EventStreamWebhookBasicAuthMethodEnum'
        username:
          type: string
          description: Username
          maxLength: 128
          pattern: ^[^:]+$
    CreateEventStreamActionRequestContent:
      type: object
      additionalProperties: false
      required:
      - destination
      properties:
        name:
          type: string
          description: Name of the event stream.
          minLength: 1
          maxLength: 128
        subscriptions:
          type: array
          description: List of event types subscribed to in this stream.
          minItems: 1
          items:
            $ref: '#/components/schemas/EventStreamSubscription'
        destination:
          $ref: '#/components/schemas/EventStreamActionDestination'
        status:
          $ref: '#/components/schemas/EventStreamStatusEnum'
    EventStreamEventTypeEnum:
      type: string
      enum:
      - group.created
      - group.deleted
      - group.member.added
      - group.member.deleted
      - group.role.assigned
      - group.role.deleted
      - group.updated
      - organization.connection.added
      - organization.connection.removed
      - organization.connection.updated
      - organization.created
      - organization.deleted
      - organization.group.role.assigned
      - organization.group.role.deleted
      - organization.member.added
      - organization.member.deleted
      - organization.member.role.assigned
      - organization.member.role.deleted
      - organization.updated
      - user.created
      - user.deleted
      - user.updated
    EventStreamActionDestination:
      type: object
      additionalProperties: false
      required:
      - type
      - configuration
      properties:
        type:
          $ref: '#/components/schemas/EventStreamActionDestinationTypeEnum'
        configuration:
          $ref: '#/components/schemas/EventStreamActionConfiguration'
    EventStreamCloudEvent:
      type: object
      description: Event content. This will only be set if delivery failed.
      additionalProperties: false
      properties:
        id:
          type: string
          description: Unique identifier for the event
          minLength: 26
          maxLength: 26
          format: event-id
        source:
          type: string
          description: Where the event originated
        specversion:
          type: string
          description: Version of CloudEvents spec
        type:
          type: string
          description: Type of the event (e.g., user.created)
        time:
          type: string
          description: Timestamp at which the event was generated
          format: date-time
        data:
          type: string
          description: Event contents encoded as a string.
    EventStreamDeliveryStatusEnum:
      type: string
      description: Delivery status
      maxLength: 6
      enum:
      - failed
    TestEventDataContent:
      type: object
      description: The raw payload of the test event.
      additionalProperties: true
    EventStreamActionResponseContent:
      type: object
      additionalProperties: false
      properties:
        id:
          type: string
          description: Unique identifier for the event stream.
          minLength: 26
          maxLength: 26
          format: event-stream-id
        name:
          type: string
          description: Name of the event stream.
          minLength: 1
          maxLength: 128
        subscriptions:
          type: array
          description: List of event types subscribed to in this stream.
          minItems: 1
          items:
            $ref: '#/components/schemas/EventStreamSubscription'
        destination:
          $ref: '#/components/schemas/EventStreamActionDestination'
        status:
          $ref: '#/components/schemas/EventStreamStatusEnum'
        created_at:
          type: string
          description: Timestamp when the event stream was created.
          format: date-time
        updated_at:
          type: string
          description: Timestamp when the event stream was last updated.
          format: date-time
    EventStreamWebhookBasicAuthMethodEnum:
      type: string
      description: Type of authorization.
      enum:
      - basic
    EventStreamWebhookDestinationTypeEnum:
      type: string
      enum:
      - webhook
    EventStreamTestEventTypeEnum:
      type: string
      description: The type of event this test event represents.
      maxLength: 33
      enum:
      - group.created
      - group.deleted
      - group.member.added
      - group.member.deleted
      - group.role.assigned
      - group.role.deleted
      - group.updated
      - organization.connection.added
      - organization.connection.removed
      - organization.connection.updated
      - organization.created
      - organization.deleted
      - organization.group.role.assigned
      - organization.group.role.deleted
      - organization.member.added
      - organization.member.deleted
      - organization.member.role.assigned
      - organization.member.role.deleted
      - organization.updated
      - user.created
      - user.deleted
      - user.updated
    EventStreamWebhookDestination:
      type: object
      additionalProperties: false
      required:
      - type
      - configuration
      properties:
        type:
          $ref: '#/components/schemas/EventStreamWebhookDestinationTypeEnum'
        configuration:
          $ref: '#/components/schemas/EventStreamWebhookConfiguration'
    EventStreamWebhookBearerAuthMethodEnum:
      type: string
      description: Type of authorization.
      enum:
      - bearer
    EventStreamEventBridgeAWSRegionEnum:
      type: string
      description: AWS Region for EventBridge destination.
      enum:
      - af-south-1
      - ap-east-1
      - ap-east-2
      - ap-northeast-1
      - ap-northeast-2
      - ap-northeast-3
      - ap-south-1
      - ap-south-2
      - ap-southeast-1
      - ap-southeast-2
      - ap-southeast-3
      - ap-southeast-4
      - ap-southeast-5
      - ap-southeast-6
      - ap-southeast-7
      - ca-central-1
      - ca-west-1
      - eu-central-1
      - eu-central-2
      - eu-north-1
      - eu-south-1
      - eu-south-2
      - eu-west-1
      - eu-west-2
      - eu-west-3
      - il-central-1
      - me-central-1
      - me-south-1
      - mx-central-1
      - sa-east-1
      - us-gov-east-1
      - us-gov-west-1
      - us-east-1
      - us-east-2
      - us-west-1
      - us-west-2
    EventStreamEventBridgeResponseContent:
      type: object
      additionalProperties: false
      properties:
        id:
          type: string
          description: Unique identifier for the event stream.
          minLength: 26
          maxLength: 26
          format: event-stream-id
        name:
          type: string
          description: Name of the event stream.
          minLength: 1
          maxLength: 128
        subscriptions:
          type: array
          description: List of event types subscribed to in this stream.
          minItems: 1
          items:
            $ref: '#/components/schemas/EventStreamSubscription'
        destination:
          $ref: '#/components/schemas/EventStreamEventBridgeDestination'
        status:
          $ref: '#/components/schemas/EventStreamStatusEnum'
        created_at:
          type: string
          description: Timestamp when the event stream was created.
          format: date-time
        updated_at:
          type: string
          description: Timestamp when the event stream was last updated.
          format: date-time
    EventStreamDestinationPatch:
      oneOf:
      - $ref: '#/components/schemas/EventStreamWebhookDestination'
      - $ref: '#/components/schemas/EventStreamActionDestination'
    CreateEventStreamEventBridgeRequestContent:
      type: object
      additionalProperties: false
      required:
      - destination
      properties:
        name:
          type: string
          description: Name of the event stream.
          minLength: 1
          maxLength: 128
        subscriptions:
          type: array
          description: List of event types subscribed to in this stream.
          minItems: 1
          items:
            $ref: '#/components/schemas/EventStreamSubscription'
        destination:
          $ref: '#/components/schemas/EventStreamEventBridgeDestination'
        status:
          $ref: '#/components/schemas/EventStreamStatusEnum'
    UpdateEventStreamResponseContent:
      oneOf:
      - $ref: '#/components/schemas/EventStreamWebhookResponseContent'
      - $ref: '#/components/schemas/EventStreamEventBridgeResponseContent'
      - $ref: '#/components/schemas/EventStreamActionResponseContent'
    EventStreamResponseContent:
      oneOf:
      - $ref: '#/components/schemas/EventStreamWebhookResponseContent'
      - $ref: '#/components/schemas/EventStreamEventBridgeResponseContent'
      - $ref: '#/components/schemas/EventStreamActionResponseContent'
    CreateEventStreamRedeliveryResponseContent:
      type: object
      additionalProperties: false
      properties:
        date_from:
          type: string
          description: An RFC-3339 date-time for redelivery start, inclusive. Does not allow sub-second precision.
          maxLength: 20
          format: date-time
        date_to:
          type: string
          description: An RFC-3339 date-time for redelivery end, exclusive. Does not allow sub-second precision.
          maxLength: 20
          format: date-time
        statuses:
          type: array
          description: Filter by status
          items:
            $ref: '#/components/schemas/EventStreamDeliveryStatusEnum'
        event_types:
          type: array
          description: Filter by event type
          items:
            $ref: '#/components/schemas/EventStreamEventTypeEnum'
    EventStreamDeliveryAttempt:
      type: object
      additionalProperties: false
      required:
      - status
      - timestamp
      properties:
        status:
          $ref: '#/components/schemas/EventStreamDeliveryStatusEnum'
        timestamp:
          type: string
          description: Timestamp of delivery attempt
          format: date-time
        error_message:
          type: string
          description: Delivery error message, if applicable
    EventStreamActionDestinationTypeEnum:
      type: string
      enum:
      - action
    EventStreamEventBridgeConfiguration:
      type: object
      description: Configuration specific to an eventbridge destination.
      additionalProperties: false
      required:
      - aws_account_id
      - aws_region
      properties:
        aws_account_id:
          type: string
          description: 'AWS Account ID for EventBridge destination.

            '
          pattern: ^\d{12}$
        aws_region:
          $ref: '#/components/schemas/EventStreamEventBridgeAWSRegionEnum'
        aws_partner_event_source:
          type: string
          description: 'AWS Partner Event Source for EventBridge destination.

            '
    CreateEventStreamTestEventResponseContent:
      type: object
      description: Metadata about a specific attempt to deliver an event
      additionalProperties: false
      required:
      - id
      - event_stream_id
      - status
      - event_type
      - attempts
      properties:
        id:
          type: string
          description: Unique identifier for the delivery
        event_stream_id:
          type: string
          description: Unique identifier for the event stream.
          minLength: 26
          maxLength: 26
          format: event-stream-id
        status:
          $ref: '#/components/schemas/EventStreamDeliveryStatusEnum'
        event_type:
          $ref: '#/components/schemas/EventStreamDeliveryEventTypeEnum'
        attempts:
          type: array
          description: Results of delivery attempts
          items:
            $ref: '#/components/schemas/EventStreamDeliveryAttempt'
        event:
          $ref: '#/components/schemas/EventStreamCloudEvent'
    EventStreamWebhookCustomHeaderAuth:
      type: object
      description: Custom header authorization for HTTP requests.
      additionalProperties: false
      required:
      - method
      - header_key
      properties:
        method:
          $ref: '#/components/schemas/EventStreamWebhookCustomHeaderAuthMethodEnum'
        header_key:
          type: string
          description: HTTP header name.
          minLength: 1
          pattern: ^[a-zA-Z0-9!#$%&'*+.^_`|~-]+$
    EventStreamWebhookConfiguration:
      type: object
      description: Configuration specific to a webhook destination.
      additionalProperties: false
      required:
      - webhook_endpoint
      - webhook_authorization
      properties:
        webhook_endpoint:
          type: string
          description: Target HTTP endpoint URL.
          pattern: ^https://.*
        webhook_authorization:
          $ref: '#/components/schemas/EventStreamWebhookAuthorizationResponse'
    CreateEventStreamTestEventRequestContent:
      type: object
      description: The payload for sending a test event to an event stream.
      additionalProperties: false
      required:
      - event_type
      properties:
        event_type:
          $ref: '#/components/schemas/EventStreamTestEventTypeEnum'
        data:
          $ref: '#/components/schemas/TestEventDataContent'
    EventStreamWebhookAuthorizationResponse:
      oneOf:
      - $ref: '#/components/schemas/EventStreamWebhookBasicAuth'
      - $ref: '#/components/schemas/EventStreamWebhookBearerAuth'
      - $ref: '#/components/schemas/EventStreamWebhookCustomHeaderAuth'
    EventStreamWebhookBearerAuth:
      type: object
      description: 'Bearer Authorization for HTTP requests (e.g., ''Bearer token'').

        '
      additionalProperties: false
      required:
      - method
      properties:
        method:
          $ref: '#/components/schemas/EventStreamWebhookBearerAuthMethodEnum'
    EventStreamDelivery:
      type: object
      description: Metadata about a specific attempt to deliver an event
      additionalProperties: false
      required:
      - id
      - event_stream_id
      - status
      - event_type
      - attempts
      properties:
        id:
          type: string
          description: Unique identifier for the delivery
        event_stream_id:
          type: string
          description: Unique identifier for the event stream.
          minLength: 26
          maxLength: 26
          format: event-stream-id
        status:
          $ref: '#/components/schemas/EventStreamDeliveryStatusEnum'
        event_type:
          $ref: '#/components/schemas/EventStreamDeliveryEventTypeEnum'
        attempts:
          type: array
          description: Results of delivery attempts
          items:
            $ref: '#/components/schemas/EventStreamDeliveryAttempt'
        event:
          $ref: '#/components/schemas/EventStreamCloudEvent'
    EventStreamWebhookCustomHeaderAuthMethodEnum:
      type: string
      

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