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

# List users

> Retrieves a list of users



## OpenAPI

````yaml /openapi.yaml get /user/list
openapi: 3.0.1
info:
  title: Push API
  version: 0.0.1
servers:
  - url: https://api.pushcash.com
    description: Production API
  - url: https://sandbox.pushcash.com
    description: Sandbox API used for developing an integration with Push
security:
  - bearer: []
tags:
  - name: user
  - name: tokenization
  - name: authorization
  - name: intent
  - name: dispute
  - name: refund
  - name: ledger
    description: >-
      Accounts, transactions, and transfers — the records that make up the Push
      ledger.
  - name: simulation
  - name: webhook
paths:
  /user/list:
    get:
      tags:
        - user
      summary: List users
      description: Retrieves a list of users
      operationId: listUsers
      parameters:
        - in: query
          name: created_at.after
          description: >-
            Return users created after this [ISO
            8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
          required: false
          schema:
            type: string
            format: date-time
        - in: query
          name: created_at.before
          description: >-
            Return users created before this [ISO
            8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
          required: false
          schema:
            type: string
            format: date-time
        - in: query
          name: cursor
          description: The cursor for the next page of results to fetch
          required: false
          schema:
            type: string
            example: vjl8vk3l4o8dhsjlzh==
        - in: query
          name: status
          description: >
            Filter users by status.

            Provide multiple values to retrieve users with any of the provided
            statuses.
          schema:
            type: array
            items:
              $ref: '#/components/schemas/UserStatus'
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/User'
                  next_cursor:
                    $ref: '#/components/schemas/Cursor'
                required:
                  - data
                  - next_cursor
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
components:
  schemas:
    UserStatus:
      type: string
      enum:
        - created
        - enabled
        - suspended
        - disabled
      x-enumDescriptions:
        created: >-
          The user has been created but has not yet performed a successful
          intent.
        enabled: The user is enabled and has successfully performed an intent.
        suspended: The user is temporarily suspended for review due to unusual activity.
        disabled: >-
          A suspension was upheld and the user has been permanently disabled by
          Push Cash.
    User:
      type: object
      properties:
        id:
          type: string
          description: Push's identifier assigned to the user
        tag:
          type: string
          nullable: true
          description: The tag provided in the request to create the user
        status:
          $ref: '#/components/schemas/UserStatus'
        created_at:
          type: string
          description: Date and time in which user was first created in system
          format: date-time
      example:
        id: user_28CJjV7P4Go5PNJvfzghiD
        tag: 4c8e6b4f
        status: enabled
        created_at: '2023-04-10T05:10:14.532Z'
      required:
        - id
        - tag
        - status
        - created_at
    Cursor:
      type: string
      nullable: true
      description: >
        Use cursor for paginating list endpoints in conjunction with the cursor
        request parameter. 


        In a response, the value is null if there are no more results to fetch.
      example: vjl8vk3l4o8dhsjlzh==
    error:
      description: Description of the error encountered from the API request
      type: object
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````

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