# Show Notifications Settings

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/users/me/account/notifications_settings:
    get:
      summary: Show Notifications Settings
      deprecated: false
      description: >-
        Returns current user notifications settings.


        ## Example


        ```shell

        curl -X GET \

        "https://api.mpc.placewise.com/v1/users/me/account/notifications_settings"
        \
          -H 'content-type: application/json' \
          -H 'Authorization: Bearer B7t9U9tsoWsGhrv2ouUoSqpM' \ 
          -H 'x-user-agent: CURL manual test'
        ```


        When successful, returns:


        ```json

        {
          "notifications_settings": {
            "notification_types": {
              "operations_alert_accepted": {
                "sms": false,
                "email": true,
                "push": true
              }
            }
          }
        }

        ```
      tags:
        - API Reference/Users API/Users/Account
      parameters:
        - name: Content-Type
          in: header
          description: '[Details](doc-341635)'
          required: true
          example: application/json
          schema:
            type: string
            default: application/json
            const: application/json
        - name: X-User-Agent
          in: header
          description: Arbitrary identifier of your client. [Details](doc-341635)
          required: true
          example: '{{X_USER_AGENT}}'
          schema:
            type: string
            default: '{{X_USER_AGENT}}'
        - name: X-Product-Name
          in: header
          description: API Product for API context. [Details](doc-341635)
          required: true
          example: '{{PRODUCT_NAME}}'
          schema:
            type: string
            default: '{{PRODUCT_NAME}}'
        - name: X-Loyalty-Club-Slug
          in: header
          description: LoyaltyClub for API context. [Details](doc-342138)
          required: false
          example: '{{LOYALTY_CLUB_SLUG}}'
          schema:
            type: string
            default: '{{LOYALTY_CLUB_SLUG}}'
        - name: X-Customer
          in: header
          description: Customer for API context.  [Details](doc-342139)
          required: false
          example: '{{CUSTOMER_ID}}'
          schema:
            type: string
            default: '{{CUSTOMER_ID}}'
        - name: Authorization
          in: header
          description: '[Member](doc-342129) or [User](doc-342130) Authorization.'
          required: false
          example: Bearer {{_OAUTH_TOKEN}}
          schema:
            type: string
            default: Bearer {{_OAUTH_TOKEN}}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserNotificationsSettings'
              example:
                notifications_settings:
                  notification_types:
                    operations_alert_accepted:
                      sms: false
                      email: true
                      push: true
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: API Reference/Users API/Users/Account
      x-apidog-status: pending
      x-run-in-apidog: https://app.eu.apidog.com/web/project/346351/apis/api-3574548-run
components:
  schemas:
    UserNotificationsSettings:
      type: object
      properties:
        operations_alert_accepted: &ref_0
          $ref: '#/components/schemas/UserNotificationSetting'
          description: Occurs when alert has been accepted by mall manager
        operations_alert_deactivated:
          $ref: '#/components/schemas/UserNotification'
          description: Occurs when alert has been deactivated by mall manager
        operations_alert_created: *ref_0
        operations_article_published: *ref_0
        operations_document_to_recipients_still_not_confirmed: *ref_0
        operations_document_to_recipients_with_confirmation_created: *ref_0
        operations_document_to_recipients_without_confirmation_created: *ref_0
        operations_issue_created: *ref_0
        operations_issue_details_updated: *ref_0
        operations_issue_status_changed: *ref_0
        operations_offers_added: *ref_0
        operations_public_document_created: *ref_0
        operations_report_time_exceeded: *ref_0
        operations_report_time_soon_exceeded: *ref_0
        operations_resource_added: *ref_0
        operations_resource_accepted: *ref_0
        operations_resource_rejected: *ref_0
        operations_resource_still_rejected: *ref_0
        operations_resource_updated: *ref_0
      x-apidog-orders:
        - operations_alert_accepted
        - operations_alert_deactivated
        - operations_alert_created
        - operations_article_published
        - operations_document_to_recipients_still_not_confirmed
        - operations_document_to_recipients_with_confirmation_created
        - operations_document_to_recipients_without_confirmation_created
        - operations_issue_created
        - operations_issue_details_updated
        - operations_issue_status_changed
        - operations_offers_added
        - operations_public_document_created
        - operations_report_time_exceeded
        - operations_report_time_soon_exceeded
        - operations_resource_added
        - operations_resource_accepted
        - operations_resource_rejected
        - operations_resource_still_rejected
        - operations_resource_updated
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    UserNotification:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/id'
        app_module:
          type: string
          title: ''
          examples:
            - operations_documents
          description: >-
            Name of app module the Notification is related to.
            [Localized](doc-341959)
        type:
          type: string
          description: '!!TODO!! Types should be documented somewhere'
          enum:
            - operations_alert_accepted
          examples:
            - operations_alert_accepted
          x-apidog-enum:
            - value: operations_alert_accepted
              name: ''
              description: desc of alert accepted here
        body:
          type: string
          description: Content of the Notification. [Localized](doc-341959)
          examples:
            - 'APPROVED: Holiday promo coupon 10% discount'
        url:
          type: string
          description: Relative URL to a MPC page related to the event
          examples:
            - 447;type=customer/resources/details/23
        occurred_at: &ref_1
          description: When the Event that triggered the Notification occurred
          $ref: '#/components/schemas/date_time'
        created_at:
          $ref: '#/components/schemas/date_time.created_at'
          description: When the Notification has been created
        received_at:
          anyOf:
            - *ref_1
            - type: 'null'
          description: When the Notification has been received by the user
        seen_at:
          anyOf:
            - *ref_1
            - type: 'null'
          description: When the Notification has been seen by user for the last time
      x-apidog-orders:
        - id
        - app_module
        - type
        - body
        - url
        - occurred_at
        - created_at
        - received_at
        - seen_at
      required:
        - id
        - app_module
        - type
        - body
        - url
        - occurred_at
        - created_at
        - received_at
        - seen_at
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    date_time.created_at:
      type: string
      description: Time of record creation
      format: date-time
      examples:
        - '2022-11-05T16:25:58.099512Z'
      readOnly: true
      x-apidog-folder: ''
    date_time:
      type: string
      format: date-time
      examples:
        - '2022-11-09T16:25:58.099512Z'
      x-apidog-folder: ''
    id:
      type: integer
      description: Primary identifier of the record
      format: uint64
      readOnly: true
      examples:
        - 1
      x-apidog-folder: ''
    UserNotificationSetting:
      type: object
      properties:
        sms:
          type: boolean
        push:
          type: boolean
        email:
          type: boolean
      required:
        - sms
        - push
        - email
      x-apidog-orders:
        - sms
        - push
        - email
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://api.mpc.dev.placewise.com
    description: Staging
security: []

```