openapi: 3.0.0
info:
  title: 'MoEngage - Cards '
  version: 1.0.0
servers:
  - url: https://api-{{0x}}.moengage.com
components:
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
paths:
  /v1/cards/fetch:
    post:
      tags:
        - General
      summary: Fetch API
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: >-
                "{\n    \"unique_id\": \"{{unique_id}}\",\n\t    \"platforms\":
                [\"ANDROID\", \"WEB\",\"IOS\"],\n\t    \"limit\": 4,\n\t   
                \"last_updated_time\": 1695987441, \n\t   
                \"prev_sync_card_ids\":
                [\"6516b30d2712560fdfae50c3_F_T_CA_AB_0_P_0_L_0_web\"],\n\t   
                \"card_category\": \"Announcements\"\n\t\n}"
      security:
        - basicAuth: []
      parameters:
        - name: MOE-APPKEY
          in: header
          schema:
            type: string
          example: '{{DATA_APP_ID}}'
        - name: AUTHORIZATION
          in: header
          schema:
            type: string
          example: Basic SFhaSDQ1WkZPN09BQzk4QlZRMTQ3NzNOOlhUTzRWVTU2VjdBWg==
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
        - name: limit
          in: query
          schema:
            type: integer
          example: '10'
        - name: page
          in: query
          schema:
            type: integer
          example: '1'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
