---
updatedAt: 2025-05-15T21:03:12.000Z
agentTools:
  projectIndex: https://docs.youlend.com/llms.txt
---

# An endpoint for getting all possible events to subscribe to.

Fetches the list of events to which a partner can subscribe.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "YouLend Third Party Notification API",
    "description": "Through this API you can subscribe to events and get notified of these events via webhook",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://partners.staging-youlendapi.com/notification"
    }
  ],
  "paths": {
    "/SubscriptionEvents": {
      "get": {
        "tags": [
          "SubscriptionEvents"
        ],
        "summary": "An endpoint for getting all possible events to subscribe to.",
        "parameters": [
          {
            "name": "api-version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of possible events are returned",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotificationEventModel"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotificationEventModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Something went wrong!"
          },
          "401": {
            "description": "Unauthorized request"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "NotificationEventModel": {
        "type": "object",
        "properties": {
          "eventCode": {
            "type": "string",
            "description": "Gets or sets the Event Code Number/>",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Gets or sets the Description/>",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Model containing data about the Events"
      }
    },
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://youlend-stag.eu.auth0.com/oauth/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "oauth2": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```