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

# Stage breakdown and card counts

> Returns each program stage (template tier) and how many cards are in that stage. Useful for funnel and engagement reporting.



## OpenAPI

````yaml /openapi/brand-api.json get /{brand_id}/programs/{program_id}/stages
openapi: 3.0.0
info:
  title: Bambu Brand API
  description: >-
    Partner APIs for issuing and managing wallet cards, activations,
    transactions, SMS, and program configuration. Start with the Guides tab for
    authentication and your first issue-wallet call.
  version: 1.0.0
servers:
  - url: https://api.bambumeta.software/brands
    description: Production
  - url: https://api-sandbox.bambumeta.software/brands
    description: Sandbox
security: []
tags:
  - name: brand
    description: Brand setup and configuration
  - name: brand-activation
    description: Onboarding activations and issue-wallet for an activation
  - name: brands
    description: Custom brand attribute fields
  - name: link-activation
    description: Distribution link activation CRUD
  - name: onboarding
    description: >-
      Program onboarding metrics (internal tag, grouped under reporting in the
      portal)
  - name: program
    description: Program setup and transactions
  - name: reporting
    description: Pass and stage breakdown reports
  - name: sms
    description: Send outbound SMS messages
  - name: subscription
    description: SMS subscription enrollment and stage updates
  - name: template
    description: Wallet template management
  - name: transactions
    description: Transaction types, records, and program transactions
  - name: wallet
    description: Issue, retrieve, update, and delete wallet cards
  - name: wallet-bulk
    description: Bulk pass updates and scheduled changes
  - name: workflow
    description: Trigger workflows that issue or update passes
paths:
  /{brand_id}/programs/{program_id}/stages:
    get:
      tags:
        - reporting
        - onboarding
      summary: Stage breakdown and card counts
      description: >-
        Returns each program stage (template tier) and how many cards are in
        that stage. Useful for funnel and engagement reporting.
      parameters:
        - name: brand_id
          in: path
          description: Brand Identifier
          required: true
          style: simple
          explode: false
          schema:
            type: string
          example: '353'
        - name: program_id
          in: path
          description: Program Identifier
          required: true
          style: simple
          explode: false
          schema:
            type: string
          example: '1396'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Stage'
              example:
                - templateTierId: 1
                  stageName: New member
                  count: 420
                - templateTierId: 2
                  stageName: Active
                  count: 914
      security:
        - cognito-authorizer:
            - https://admin.bambumeta.software/ui
components:
  schemas:
    Stage:
      type: object
      required:
        - name
        - totalPasses
      properties:
        templateId:
          type: number
          description: Template Identifier
        templateTierId:
          type: number
          description: >-
            Template Tier Identifier, will be undefined if record is the default
            template.
        name:
          type: string
          description: Stage Name
        totalPasses:
          type: number
          description: Total number of passes created for this stage
  securitySchemes:
    cognito-authorizer:
      type: apiKey
      name: Authorization
      in: header

````