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

# List program members

> Returns a cursor-paginated list of members of the program. Deleted members are omitted. Results can be filtered by ID, status, customer ID and creation date. Results can be ordered by creation date, status, or customer ID (ascending or descending). The same field cannot be ordered both ascending and descending at the same time.

Returns `404` when the program does not exist.

List items do not include the `cards` array. Use the following endpoints to retrieve cards for a given member:
- [Get customer memberships](/api-reference/programs/get-customer-memberships),
- [Get program member](/api-reference/programs/get-program-member),
- [Get program membership](/api-reference/programs/get-program-membership).

A successful call records no activity.



## OpenAPI

````yaml /openapi/loyalties-v2.json get /v2/loyalties/programs/{programId}/members
openapi: 3.1.0
info:
  title: Voucherify API - Loyalty v2
  version: v2018-08-01
  description: >-
    Voucherify promotion engine REST API. Please see
    https://docs.voucherify.io/docs for more details.
  contact:
    name: Voucherify Team
    url: https://www.voucherify.io/contact-support
    email: support@voucherify.io
  termsOfService: https://www.voucherify.io/legal/subscription-agreement
  license:
    name: MIT
    url: https://github.com/voucherifyio/voucherify-js-sdk/blob/main/LICENSE
servers:
  - url: https://{cluster}.voucherify.io
    description: Base URL
    variables:
      cluster:
        default: api
        enum:
          - api
          - us1.api
          - as1.api
          - download
          - us1.download
          - as1.download
security: []
paths:
  /v2/loyalties/programs/{programId}/members:
    parameters:
      - name: programId
        in: path
        required: true
        description: Identifies the loyalty program. Format `lprg_[a-f0-9]+`.
        schema:
          type: string
          pattern: ^lprg_[a-f0-9]+$
    get:
      tags:
        - Programs
      summary: List program members
      description: >-
        Returns a cursor-paginated list of members of the program. Deleted
        members are omitted. Results can be filtered by ID, status, customer ID
        and creation date. Results can be ordered by creation date, status, or
        customer ID (ascending or descending). The same field cannot be ordered
        both ascending and descending at the same time.


        Returns `404` when the program does not exist.


        List items do not include the `cards` array. Use the following endpoints
        to retrieve cards for a given member:

        - [Get customer
        memberships](/api-reference/programs/get-customer-memberships),

        - [Get program member](/api-reference/programs/get-program-member),

        - [Get program
        membership](/api-reference/programs/get-program-membership).


        A successful call records no activity.
      operationId: listProgramMembers
      parameters:
        - name: limit
          in: query
          required: false
          description: >-
            Limits the page size to an integer from 1 to 100. Defaults to 10. A
            numeric string is accepted and rounded to the nearest integer.
          schema:
            type:
              - integer
              - 'null'
            minimum: 1
            maximum: 100
            default: 10
        - name: order
          in: query
          required: false
          description: >-
            Orders the results. Accepts one value or an array. Prefix a field
            with `-` for descending order. Defaults to `-created_at`. The same
            field cannot be used in both directions. Rows with the same sort
            value are then ordered by `id` ascending.
          schema:
            oneOf:
              - type: array
                items:
                  type: string
                  enum:
                    - '-created_at'
                    - created_at
                    - status
                    - '-status'
                    - customer_id
                    - '-customer_id'
              - type: string
                enum:
                  - '-created_at'
                  - created_at
                  - status
                  - '-status'
                  - customer_id
                  - '-customer_id'
              - type: 'null'
        - name: cursor
          in: query
          required: false
          description: >-
            Continues pagination. Pass the `cursor.next` value from a previous
            response. Format `lcrsmbr_[a-f0-9]+`. The cursor matches the filters
            and order of that response.
          schema:
            type:
              - string
              - 'null'
            pattern: ^lcrsmbr_[a-f0-9]+$
        - name: filters
          in: query
          required: false
          style: deepObject
          explode: true
          description: >-
            Filters the results. Pass a deep object, for example
            `filters[status][conditions][$is]=ACTIVE`. Fields combine through
            `junction`, which defaults to `AND`. Omit `filters` to apply no
            field filter.
          schema:
            oneOf:
              - $ref: >-
                  #/components/schemas/V2LoyaltiesProgramsMembersListRequestQuery
              - type: 'null'
      responses:
        '200':
          description: Cursor-paginated list of members.
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/V2LoyaltiesProgramsMembersListResponseBody
              examples:
                List of program members:
                  value:
                    data:
                      - id: lmbr_12c3092a048ffa1a33
                        customer_id: cust_RhnOBUBSf2lVKz74eKCHnEs4
                        program_id: lprg_128f58429f4c4bf7b2
                        status: ACTIVE
                        metadata: {}
                        created_at: '2026-07-21T15:04:36.114Z'
                        updated_at: null
                        object: member
                      - id: lmbr_12ba1c1a8456b6db8c
                        customer_id: cust_X07elh40iNWLujRmDNmBufxd
                        program_id: lprg_128f58429f4c4bf7b2
                        status: ACTIVE
                        metadata: {}
                        created_at: '2026-07-14T16:41:01.201Z'
                        updated_at: null
                        object: member
                    cursor:
                      next: lcrsmbr_12f8ff4b05eed6b35a
                      expires_at: '2026-09-01T13:09:27.127Z'
                    object: list
        '400':
          description: >-
            Validation error - query parameters failed validation, or the cursor
            is invalid, expired, or does not match the query.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                Invalid cursor format:
                  value:
                    code: 400
                    key: invalid_query_params
                    message: Invalid query params
                    details: Property .cursor must match pattern "^lcrsmbr_[a-f0-9]+$"
                    request_id: v-12f90062450611349b
                Cursor invalid or expired:
                  value:
                    code: 400
                    key: invalid_or_expired_cursor
                    message: Invalid or expired cursor
                    details: The provided cursor is invalid or has expired
                    request_id: v-12f90062450611349c
                Cursor does not match query:
                  value:
                    code: 400
                    key: cursor_and_query_mismatch
                    message: Cursor and query mismatch
                    details: >-
                      The provided cursor does not match the query, either the
                      cursor is invalid or the query has changed
                    request_id: v-12f90062450611349d
                Limit too high:
                  value:
                    code: 400
                    key: invalid_query_params
                    message: Invalid query params
                    details: Property .limit cannot be greater than 100
                    request_id: v-12f90062450611349e
                Limit too low:
                  value:
                    code: 400
                    key: invalid_query_params
                    message: Invalid query params
                    details: Property .limit cannot be lower than 1
                    request_id: v-12f90062450611349f
                Unsupported order value:
                  value:
                    code: 400
                    key: invalid_query_params
                    message: Invalid query params
                    details: >-
                      Property .order must be equal to one of the allowed values
                      [ -created_at, created_at, status, -status, customer_id,
                      -customer_id ]
                    request_id: v-12f9006245061134a0
                Conflicting order values:
                  value:
                    code: 400
                    key: invalid_query_params
                    message: Invalid query params
                    details: >-
                      Query cannot be ordered by 'created_at' and '-created_at'
                      at the same time
                    request_id: v-12f9006245061134a1
        '404':
          description: Resource (program) not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                Program not found:
                  value:
                    code: 404
                    key: not_found
                    message: Resource not found
                    details: Cannot find program with id lprg_128f5829f4c4bf7b2
                    request_id: v-12f90062450611349a
                    resource_id: lprg_128f5829f4c4bf7b2
                    resource_type: program
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                Internal server error:
                  value:
                    code: 500
                    key: api_error
                    message: >-
                      Something went wrong. Don't worry, your campaigns are
                      still safe and the Voucherify Team has been notified.
                      Check out our Help Center and forums for help, or head
                      back to home.
      security:
        - X-App-Id: []
          X-App-Token: []
        - bearerAuth: []
components:
  schemas:
    V2LoyaltiesProgramsMembersListRequestQuery:
      type: object
      description: >-
        Request query schema for **GET**
        `/v2/loyalties/programs/{programId}/members`.
      properties:
        junction:
          description: >-
            Joins the field filters. Allowed values are `AND` and `OR`. Defaults
            to `AND`.
          oneOf:
            - type: string
              enum:
                - AND
                - OR
            - type: 'null'
        id:
          description: Filters by member ID. Format `lmbr_[a-f0-9]+`.
          oneOf:
            - $ref: '#/components/schemas/LoyaltiesProgramsMembersListRequestQueryId'
            - type: 'null'
        status:
          description: 'Filters by member status. Allowed values: `ACTIVE`, `INACTIVE`.'
          oneOf:
            - $ref: >-
                #/components/schemas/LoyaltiesProgramsMembersListRequestQueryStatus
            - type: 'null'
        customer_id:
          description: Filters by customer ID. Format `cust_[a-zA-Z0-9]+`.
          oneOf:
            - $ref: >-
                #/components/schemas/LoyaltiesProgramsMembersListRequestQueryCustomerId
            - type: 'null'
        created_at:
          description: Filters by creation date.
          oneOf:
            - $ref: '#/components/schemas/DateFilter'
            - type: 'null'
      additionalProperties: false
      title: V2 Loyalties Programs Members List Request Query
    V2LoyaltiesProgramsMembersListResponseBody:
      title: V2 Loyalties Programs Members List Response Body
      type: object
      description: >-
        Response body schema for **GET**
        `/v2/loyalties/programs/{programId}/members`.
      allOf:
        - $ref: '#/components/schemas/ProgramMemberListResponse'
    ErrorResponse:
      type: object
      description: Standard error response returned by all Loyalty v2 endpoints.
      properties:
        code:
          type: integer
          description: HTTP status code of the error.
        key:
          type: string
          description: Machine-readable error key.
        message:
          type: string
          description: Human-readable error message.
        details:
          type: string
          description: Additional details about the error.
        request_id:
          type: string
          description: Unique identifier of the request that produced the error.
        resource_id:
          type: string
          description: Unique identifier of the resource that produced the error.
        resource_type:
          type: string
          description: Type of the resource that produced the error.
    LoyaltiesProgramsMembersListRequestQueryId:
      type: object
      description: >-
        ID conditions. Format `lmbr_[a-f0-9]+`. At least one condition is
        required.
      properties:
        conditions:
          type: object
          minProperties: 1
          properties:
            $is:
              description: >-
                Matches one value. A string or a one-element array. Format
                `lmbr_[a-f0-9]+`.
              oneOf:
                - type: string
                  pattern: ^lmbr_[a-f0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^lmbr_[a-f0-9]+$
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $is_not:
              description: >-
                Excludes one value. A string or a one-element array. Format
                `lmbr_[a-f0-9]+`.
              oneOf:
                - type: string
                  pattern: ^lmbr_[a-f0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^lmbr_[a-f0-9]+$
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $in:
              description: >-
                Matches any of the values. A string or an array of 1 to 100
                values. Format `lmbr_[a-f0-9]+`.
              oneOf:
                - type: string
                  pattern: ^lmbr_[a-f0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^lmbr_[a-f0-9]+$
                  minItems: 1
                  maxItems: 100
                - type: 'null'
            $not_in:
              description: >-
                Excludes any of the values. A string or an array of 1 to 100
                values. Format `lmbr_[a-f0-9]+`.
              oneOf:
                - type: string
                  pattern: ^lmbr_[a-f0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^lmbr_[a-f0-9]+$
                  minItems: 1
                  maxItems: 100
                - type: 'null'
          additionalProperties: false
      required:
        - conditions
      additionalProperties: false
    LoyaltiesProgramsMembersListRequestQueryStatus:
      type: object
      description: >-
        Enum filter conditions for member status. Allowed values are `ACTIVE`
        and

        `INACTIVE`. At least one condition is required.
      properties:
        conditions:
          type: object
          minProperties: 1
          properties:
            $is:
              description: Matches one value. A string or a one-element array.
              oneOf:
                - type: string
                  enum:
                    - ACTIVE
                    - INACTIVE
                - type: array
                  items:
                    type: string
                    enum:
                      - ACTIVE
                      - INACTIVE
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $is_not:
              description: Excludes one value. A string or a one-element array.
              oneOf:
                - type: string
                  enum:
                    - ACTIVE
                    - INACTIVE
                - type: array
                  items:
                    type: string
                    enum:
                      - ACTIVE
                      - INACTIVE
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $in:
              description: >-
                Matches any of the values. A string or an array of 1 to 10
                values.
              oneOf:
                - type: string
                  enum:
                    - ACTIVE
                    - INACTIVE
                - type: array
                  items:
                    type: string
                    enum:
                      - ACTIVE
                      - INACTIVE
                  minItems: 1
                  maxItems: 10
                - type: 'null'
            $not_in:
              description: >-
                Excludes any of the values. A string or an array of 1 to 10
                values.
              oneOf:
                - type: string
                  enum:
                    - ACTIVE
                    - INACTIVE
                - type: array
                  items:
                    type: string
                    enum:
                      - ACTIVE
                      - INACTIVE
                  minItems: 1
                  maxItems: 10
                - type: 'null'
          additionalProperties: false
      required:
        - conditions
      additionalProperties: false
    LoyaltiesProgramsMembersListRequestQueryCustomerId:
      type: object
      description: >-
        ID conditions. Format `cust_[a-zA-Z0-9]+`. At least one condition is
        required.
      properties:
        conditions:
          type: object
          minProperties: 1
          properties:
            $is:
              description: >-
                Matches one value. A string or a one-element array. Format
                `cust_[a-zA-Z0-9]+`.
              oneOf:
                - type: string
                  pattern: ^cust_[a-zA-Z0-9]+
                - type: array
                  items:
                    type: string
                    pattern: ^cust_[a-zA-Z0-9]+
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $is_not:
              description: >-
                Excludes one value. A string or a one-element array. Format
                `cust_[a-zA-Z0-9]+`.
              oneOf:
                - type: string
                  pattern: ^cust_[a-zA-Z0-9]+
                - type: array
                  items:
                    type: string
                    pattern: ^cust_[a-zA-Z0-9]+
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $in:
              description: >-
                Matches any of the values. A string or an array of 1 to 100
                values. Format `cust_[a-zA-Z0-9]+`.
              oneOf:
                - type: string
                  pattern: ^cust_[a-zA-Z0-9]+
                - type: array
                  items:
                    type: string
                    pattern: ^cust_[a-zA-Z0-9]+
                  minItems: 1
                  maxItems: 100
                - type: 'null'
            $not_in:
              description: >-
                Excludes any of the values. A string or an array of 1 to 100
                values. Format `cust_[a-zA-Z0-9]+`.
              oneOf:
                - type: string
                  pattern: ^cust_[a-zA-Z0-9]+
                - type: array
                  items:
                    type: string
                    pattern: ^cust_[a-zA-Z0-9]+
                  minItems: 1
                  maxItems: 100
                - type: 'null'
          additionalProperties: false
      required:
        - conditions
      additionalProperties: false
    DateFilter:
      type: object
      description: >-
        Date filter conditions. `$before`/`$after` take date strings (ISO 8601);
        `$is`, `$more_than`, `$less_than` take non-negative integers;
        `$has_value`/`$is_unknown` are presence checks. Each condition accepts a
        single value or an array with exactly one value. At least one condition
        is required.
      properties:
        conditions:
          type: object
          minProperties: 1
          properties:
            $before:
              description: >-
                Matches dates before the given value. An ISO 8601 date-time, as
                a string or a one-element array.
              oneOf:
                - type: string
                  format: date-time
                - type: array
                  items:
                    type: string
                    format: date-time
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $after:
              description: >-
                Matches dates after the given value. An ISO 8601 date-time, as a
                string or a one-element array.
              oneOf:
                - type: string
                  format: date-time
                - type: array
                  items:
                    type: string
                    format: date-time
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $is:
              description: >-
                Matches a date exactly the given number of days ago. A
                non-negative integer, as a string or a one-element array.
              oneOf:
                - type: string
                  pattern: ^[0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^[0-9]+$
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $more_than:
              description: >-
                Matches dates more than the given number of days ago. A
                non-negative integer, as a string or a one-element array.
              oneOf:
                - type: string
                  pattern: ^[0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^[0-9]+$
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $less_than:
              description: >-
                Matches dates less than the given number of days ago. A
                non-negative integer, as a string or a one-element array.
              oneOf:
                - type: string
                  pattern: ^[0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^[0-9]+$
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $has_value:
              description: Matches when the field is set. The condition value is ignored.
              oneOf:
                - type: string
                - type: array
                  maxItems: 1
                - type: 'null'
            $is_unknown:
              description: >-
                Matches when the field is not set. The condition value is
                ignored.
              oneOf:
                - type: string
                - type: array
                  maxItems: 1
                - type: 'null'
          additionalProperties: false
      required:
        - conditions
      additionalProperties: false
    ProgramMemberListResponse:
      type: object
      description: Cursor-paginated list of members.
      properties:
        data:
          type: array
          description: Members on the current page (without the `cards` array).
          items:
            $ref: '#/components/schemas/Member'
        cursor:
          description: Pagination cursor, or `null` when there are no more results.
          oneOf:
            - $ref: '#/components/schemas/ListCursor'
            - type: 'null'
        object:
          type: string
          const: list
          description: Object type marker, always `list`.
      required:
        - data
        - cursor
        - object
    Member:
      type: object
      description: A loyalty program member.
      properties:
        id:
          type: string
          pattern: ^lmbr_[a-f0-9]+$
          description: Identifies the member.
        customer_id:
          type: string
          pattern: ^cust_[a-zA-Z0-9]+
          description: Identifies the enrolled customer.
        program_id:
          type: string
          pattern: ^lprg_[a-f0-9]+$
          description: Identifies the loyalty program.
        status:
          type: string
          enum:
            - ACTIVE
            - INACTIVE
            - DELETED
          description: >-
            Current member status. Allowed values: `ACTIVE`, `INACTIVE`,
            `DELETED`. `INACTIVE` members cannot earn points or redeem rewards.
        metadata:
          type: object
          description: Stores custom member metadata. Empty object when none is set.
        created_at:
          type: string
          format: date-time
          description: Records when the member was created (ISO 8601).
        updated_at:
          type:
            - string
            - 'null'
          format: date-time
          description: >-
            Records the last update (ISO 8601). `null` if the member has never
            been updated.
        object:
          type: string
          const: member
          description: Object type. Always `member`.
      required:
        - id
        - customer_id
        - program_id
        - status
        - metadata
        - created_at
        - updated_at
        - object
    ListCursor:
      type: object
      description: Pagination cursor.
      properties:
        next:
          type: string
          description: >-
            Cursor value to pass as the `cursor` query parameter to fetch the
            next page.
        expires_at:
          type: string
          format: date-time
          description: Timestamp when the cursor expires.
      required:
        - next
        - expires_at
  securitySchemes:
    X-App-Id:
      type: apiKey
      name: X-App-Id
      in: header
    X-App-Token:
      type: apiKey
      name: X-App-Token
      in: header
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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