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

# Get customer news feed cards

> List active news feed cards currently eligible for a customer. Cards are resolved from their live templates and ordered by pinned state, priority, and assignment time.



## OpenAPI

````yaml GET /customers/{id}/news-feed
openapi: 3.0.1
info:
  title: Masivo's REST API
  description: Learn how to use Masivo's REST API
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://app.masivo.ai/api/storefront/v1
security:
  - bearerAuth: []
paths:
  /customers/{id}/news-feed:
    get:
      description: >-
        List active news feed cards currently eligible for a customer. Cards are
        resolved from their live templates and ordered by pinned state,
        priority, and assignment time.
      parameters:
        - in: path
          name: id
          description: The customer unique identifier in your system
          required: true
          schema:
            type: string
        - in: query
          name: brand_id
          description: Filter cards by brand id
          required: false
          schema:
            type: string
        - in: query
          name: from
          description: Return assignments created at or after this timestamp
          required: false
          schema:
            type: string
            format: date-time
        - in: query
          name: to
          description: Return assignments created at or before this timestamp
          required: false
          schema:
            type: string
            format: date-time
        - in: query
          name: limit
          description: Maximum cards to return (1–50, default 50)
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 50
            default: 50
      responses:
        '200':
          description: Eligible news feed cards
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      messages:
                        type: array
                        items:
                          $ref: '#/components/schemas/NewsFeedCard'
        '422':
          description: Validation or feed resolution error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    NewsFeedCard:
      type: object
      required:
        - id
        - type
        - content
      properties:
        id:
          type: string
          format: uuid
          description: The live news feed template identifier
        campaign_id:
          type: string
          format: uuid
          description: Linked campaign identifier
          nullable: true
        type:
          type: string
          enum:
            - news_feed
        priority:
          type: integer
          description: Higher values are returned first
        expires_at:
          type: string
          format: date-time
          description: When the current assignment expires
          nullable: true
        content:
          $ref: '#/components/schemas/InAppMessageContent'
        display_rules:
          $ref: '#/components/schemas/NewsFeedDisplayRules'
    Error:
      required:
        - error
        - details
      type: object
      properties:
        error:
          type: string
        details:
          type: string
    InAppMessageContent:
      type: object
      properties:
        title:
          type: string
        body:
          type: string
        image_url:
          type: string
          description: Optional hero image URL
        html:
          type: string
          description: Optional HTML body for rich content
        sections:
          type: array
          items:
            type: object
            properties:
              title:
                type: string
              items:
                type: array
                items:
                  type: object
                  properties:
                    label:
                      type: string
                    value:
                      type: string
                    highlight:
                      type: boolean
        buttons:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              text:
                type: string
              action:
                type: string
                enum:
                  - dismiss
                  - deeplink
                  - url
                  - custom
              value:
                type: string
        link:
          type: string
        link_text:
          type: string
        pinned:
          type: boolean
    NewsFeedDisplayRules:
      type: object
      properties:
        priority:
          type: integer
          description: Display priority copied from the live template
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````