> ## 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.

# Send a message to all loyalty cards

> Write a message in the Novedades field of every issued loyalty card in the account and announce it. The request returns as soon as the cards are counted; the cards are updated in the background, usually within a few minutes. Each card follows the same rules as POST /customers/{id}/loyalty-wallet-passes/news: Apple Wallet shows it on the lock screen and Google Wallet allows about 3 notifications per card a day.



## OpenAPI

````yaml POST /loyalty-wallet-passes/news
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:
  /loyalty-wallet-passes/news:
    post:
      tags:
        - Loyalty wallet passes
      description: >-
        Write a message in the Novedades field of every issued loyalty card in
        the account and announce it. The request returns as soon as the cards
        are counted; the cards are updated in the background, usually within a
        few minutes. Each card follows the same rules as POST
        /customers/{id}/loyalty-wallet-passes/news: Apple Wallet shows it on the
        lock screen and Google Wallet allows about 3 notifications per card a
        day.
      operationId: broadcastLoyaltyWalletPassNews
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - message
              properties:
                message:
                  type: string
                  minLength: 1
                  maxLength: 300
                  description: Text shown in the Novedades field and in the notification.
      responses:
        '200':
          description: Message queued for every issued card
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    required:
                      - passes
                    properties:
                      passes:
                        type: integer
                        description: Issued loyalty cards that will receive the message.
        '404':
          description: No loyalty wallet passes issued
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.