> ## Documentation Index
> Fetch the complete documentation index at: https://devzone.nayax.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Event Rules

> Retrieves the event rules configured in the system. The response contains an array of event rules that are currently active.



## OpenAPI

````yaml /openapi/lynx.yaml get /v1/metadata/v1/event-rules
openapi: 3.0.1
info:
  title: Nayax Operational Lynx API
  version: v1
servers:
  - url: https://qa-lynx.nayax.com/operational
security:
  - Authorization: []
paths:
  /v1/metadata/v1/event-rules:
    get:
      tags:
        - Metadata
      summary: Get Event Rules
      description: >-
        Retrieves the event rules configured in the system. The response
        contains an array of event rules that are currently active.
      operationId: get-event-rules
      responses:
        '200':
          description: A list of event rules currently configured in the system.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/EventRulesLynxModelResponse'
components:
  schemas:
    EventRulesLynxModelResponse:
      type: object
      properties:
        EventRuleId:
          type: integer
          format: int64
          description: The unique identifier for the event rule.
        EventRuleName:
          type: string
          nullable: true
          description: The name of the event rule.
        EventCode:
          type: integer
          format: int32
          description: The code representing the type of event associated with this rule.
        EventSource:
          type: integer
          format: int32
          nullable: true
          description: The source from which the event originates.
        EvetnCategoryId:
          type: integer
          format: int32
          description: The category identifier associated with the event.
        GroupCategoryId:
          type: integer
          format: int32
          description: The group category identifier associated with the event.
        EventRuleStatusId:
          type: integer
          format: int32
          nullable: true
          description: >-
            The status identifier of the event rule, indicating whether it is
            active or inactive.
        EventDescription:
          type: string
          nullable: true
          description: A textual description of the event rule.
      additionalProperties: false
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      description: Enter your Bearer token. It's required to authenticate API requests.

````