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

# Get User Subscriptions



## OpenAPI

````yaml https://dev-api.cattix.com/openapi.json get /api/v1/event-subscriptions/
openapi: 3.1.0
info:
  title: CATTIX API
  description: CATTIX Backend API
  version: 0.107.0
servers:
  - url: http://localhost:8000
    description: Local
  - url: https://dev-api.cattix.com
    description: Development
  - url: https://staging-api.cattix.com
    description: Staging
  - url: https://api.cattix.com
    description: Production
security: []
paths:
  /api/v1/event-subscriptions/:
    get:
      tags:
        - Event Subscriptions
      summary: Get User Subscriptions
      operationId: get_user_subscriptions_api_v1_event_subscriptions__get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/EventSubscriptionSchema'
                type: array
                title: >-
                  Response Get User Subscriptions Api V1 Event Subscriptions 
                  Get
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    EventSubscriptionSchema:
      properties:
        event_type:
          $ref: '#/components/schemas/EventType'
          title: >-
            The type of event. Must be one of the values from the `EventType`
            enum.
        id:
          type: integer
          title: The ID of the event subscription.
        user:
          $ref: '#/components/schemas/UserSchema'
          title: The User who subscribed.
        date_added:
          type: string
          format: date-time
          title: The date the subscription was added.
        date_updated:
          type: string
          format: date-time
          title: The date the subscription was updated.
      type: object
      required:
        - event_type
        - id
        - user
        - date_added
        - date_updated
      title: EventSubscriptionSchema
      description: The schema for the Event Subscriptions API.
    EventType:
      type: string
      enum:
        - local_seo
        - meta_ads
        - email_marketing
        - website_seo
        - website_analytics
      title: EventType
    UserSchema:
      properties:
        id:
          type: integer
          title: Id
        email:
          type: string
          format: email
          title: Email
        profile:
          $ref: '#/components/schemas/BasicProfileSchema'
        is_google_recaptcha_response_valid:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Whether the Google reCAPTCHA response is valid
      type: object
      required:
        - id
        - email
        - profile
      title: UserSchema
      description: The schema for a user.
    BasicProfileSchema:
      properties:
        first_name:
          type: string
          title: First Name
        last_name:
          type: string
          title: Last Name
        phone_number:
          anyOf:
            - type: string
              maxLength: 15
              minLength: 9
            - type: 'null'
          title: The phone number of the user
      type: object
      required:
        - first_name
        - last_name
      title: BasicProfileSchema
      description: The base schema for a profile.
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: api/v1/users/authorization/token

````