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

# List a member's claims, newest first

> Page with `limit` and the opaque `page_info.next_cursor`. An id with no claims in your organization, including one that is not a member, returns an empty page. A member session may name only its own user id; another id answers 404.



## OpenAPI

````yaml https://api.develop.fourdos.dev/openapi/partner.json get /v1/users/{userId}/redemptions
openapi: 3.1.0
info:
  title: 4D OS Partner API
  version: 0.1.0
  description: >-
    REST API for 4D OS partners. Authenticate with your organization API key:
    `Authorization: Bearer <key>`.


    Requests and responses are JSON with `snake_case` field names. Errors share
    one envelope: `{ "error": { "code", "status", "message", "details"? } }`.


    Mutating endpoints that declare it accept an `Idempotency-Key` header so
    retries are safe.


    Bulk-migrating members? See the [Migrating to 4D
    guide](https://docs.fourdos.dev/walkthroughs/migrate-existing-members) for
    the canonical import schema, a worked example, and the `/v1/imports`
    sequence.
servers:
  - url: https://api.develop.fourdos.dev
security:
  - partnerApiKey: []
tags:
  - name: Users
    description: Create, read, and manage users and their org membership
  - name: Imports
    description: Bulk member import jobs (staging → validate → commit)
  - name: Consents
    description: Record, list and withdraw a member's consents and agreements
  - name: Rewards
    description: A member's reward catalog, claims and reward codes
  - name: XP
    description: >-
      A member's balance, earning headroom, expiry and boosts, and what each
      event pays
  - name: Tiers
    description: Read your organization's tier ladder
  - name: Webhooks
    description: Register webhook endpoints. Deliveries are not sent yet.
  - name: Events
    description: Refetch your organization's events from the last 30 days
  - name: API keys
    description: Issue, list, and revoke server-side organization API keys
  - name: Modules
    description: >-
      Publish private modules, install visible modules, and manage their
      credentials
  - name: Ingest
    description: Receive signed native events from an installed module
  - name: Engagement
    description: Browser event tracking (publishable keys) and tracking-key management
  - name: Revenue
    description: Report sales and refunds for the club's revenue dashboards
  - name: Ad delivery
    description: Fill a club site's ad slots, for anonymous or signed-in fans
  - name: Ad entries
    description: Fans entering a sponsor's draw, reported by the club's backend
paths:
  /v1/users/{userId}/redemptions:
    get:
      tags:
        - Rewards
      summary: List a member's claims, newest first
      description: >-
        Page with `limit` and the opaque `page_info.next_cursor`. An id with no
        claims in your organization, including one that is not a member, returns
        an empty page. A member session may name only its own user id; another
        id answers 404.
      operationId: listMemberRedemptions
      parameters:
        - name: userId
          in: path
          required: true
          schema:
            type: string
        - name: limit
          in: query
          required: false
          description: Clamped into 1 to 100 rather than refused.
          schema:
            type: integer
            default: 25
        - name: cursor
          in: query
          required: false
          description: Opaque cursor from a previous response's `page_info.next_cursor`.
          schema:
            type: string
      responses:
        '200':
          description: A page of claims
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MemberRedemptionsPage'
        '401':
          description: '`UNAUTHORIZED`: no valid credential'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: >-
            `NOT_FOUND`: the id is malformed, or a member session named another
            user
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: >-
            `VALIDATION_ERROR`: `limit` is not an integer, or `cursor` is not a
            cursor this read issued
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - partnerApiKey: []
        - adminSession: []
        - memberSession: []
components:
  schemas:
    MemberRedemptionsPage:
      type: object
      properties:
        redemptions:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              reward:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type:
                      - string
                      - 'null'
                required:
                  - id
                  - name
              status:
                type: string
                enum:
                  - pending
                  - burned
                  - fulfilled
                  - failed
              xp_amount:
                type: string
                description: A non-negative integer as a decimal string.
              claimed_at:
                type: string
                format: date-time
              fulfilled_at:
                type:
                  - string
                  - 'null'
                format: date-time
              code:
                type:
                  - string
                  - 'null'
              code_used_at:
                type:
                  - string
                  - 'null'
                format: date-time
              settlement_job_id:
                type:
                  - string
                  - 'null'
              settlement_tx_hash:
                type:
                  - string
                  - 'null'
                description: Null until the burn is broadcast.
              token_id:
                type:
                  - string
                  - 'null'
                description: The minted reward NFT, null until minted.
            required:
              - id
              - reward
              - status
              - xp_amount
              - claimed_at
              - fulfilled_at
              - code
              - code_used_at
              - settlement_job_id
              - settlement_tx_hash
              - token_id
        page_info:
          type: object
          properties:
            next_cursor:
              type:
                - string
                - 'null'
              description: Pass back as `cursor` for the next page; null on the last page.
            has_more:
              type: boolean
          required:
            - next_cursor
            - has_more
      required:
        - redemptions
        - page_info
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            status:
              type: integer
            message:
              type: string
            details:
              type: object
              additionalProperties: true
          required:
            - code
            - status
            - message
      required:
        - error
  securitySchemes:
    partnerApiKey:
      type: http
      scheme: bearer
      description: >-
        Organization API key (`org_...`) sent as `Authorization: Bearer <key>`.
        Keys are scoped to one organization; every request operates within that
        tenant.
    adminSession:
      type: http
      scheme: bearer
      description: >-
        Partner admin session token sent as `Authorization: Bearer <token>`.
        Obtained by signing in (console or the email OTP endpoints) and
        completing the second factor; see the Authentication page.
    memberSession:
      type: http
      scheme: bearer
      description: >-
        A signed-in member's session token sent as `Authorization: Bearer
        <token>`. Accepted only on the operations that list it, and each of
        those says which user ids a member may name. Your backend uses the
        organization API key instead.

````

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