# Register Event for Current Member

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/members/me/events:
    post:
      summary: Register Event for Current Member
      deprecated: false
      description: Registers single event for member authenticated by [OAuth](#doc-341646)
      tags:
        - API Reference/Data API/Events/Members Events
      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: 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}}
        - name: X-Client-Authorization
          in: header
          description: '[Token](doc-342128) Authorization.'
          example: '{{API_TOKEN}}'
          schema:
            type: string
            default: '{{API_TOKEN}}'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  event:
                    $ref: '#/components/schemas/MemberEventResponse'
                x-apidog-orders:
                  - event
                required:
                  - event
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: Success
        '422':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    examples:
                      - Invalid parameters
                    const: Invalid parameters
                  details:
                    type: object
                    properties: {}
                    x-apidog-orders: []
                    description: 'See: [Params Validation](doc-341637)'
                    additionalProperties: true
                    x-apidog-ignore-properties: []
                required:
                  - error
                  - details
                x-apidog-orders:
                  - error
                  - details
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: Invalid Parameters
      security: []
      x-apidog-folder: API Reference/Data API/Events/Members Events
      x-apidog-status: released
      x-run-in-apidog: https://app.eu.apidog.com/web/project/346351/apis/api-3550900-run
components:
  schemas:
    MemberEventResponse:
      type: object
      properties:
        type: &ref_0
          type: string
          examples:
            - parking_activity
        id: &ref_1
          description: Autogenerated ID of Event
          $ref: '#/components/schemas/uuid'
        occurred_at:
          description: Date of event. When null, current time will be implied
          anyOf:
            - &ref_2
              $ref: '#/components/schemas/date_time'
            - &ref_3
              type: 'null'
      x-apidog-orders:
        - 01KMJAJ4D21440MB135ZR068XW
      required:
        - type
        - id
      x-apidog-refs:
        01KMJAJ4D21440MB135ZR068XW:
          $ref: '#/components/schemas/_common'
      x-apidog-ignore-properties:
        - type
        - id
        - occurred_at
      x-apidog-folder: ''
    date_time:
      type: string
      format: date-time
      examples:
        - '2022-11-09T16:25:58.099512Z'
      x-apidog-folder: ''
    uuid:
      type: string
      format: uuid
      readOnly: true
      examples:
        - '550e8400-e29b-41d4-a716-446655440000 '
      x-apidog-folder: ''
    _common:
      type: object
      properties:
        type: *ref_0
        id: *ref_1
        occurred_at:
          description: Date of event. When null, current time will be implied
          anyOf:
            - *ref_2
            - *ref_3
      x-apidog-orders:
        - type
        - id
        - occurred_at
      required:
        - type
        - id
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://api.mpc.dev.placewise.com
    description: Staging
security: []

```