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

# List credentials

> Retrieve a paginated list of credentials for a specific account offer. Only available for non-legacy accounts (created via the new format endpoint).



## OpenAPI

````yaml /api/openapi.json get /v2/account-offers/{account}/credentials
openapi: 3.1.0
info:
  title: GameBoost
  version: 2.0.0
servers:
  - url: https://api.gameboost.com
    description: GameBoost API
security:
  - BearerTokenSecurityScheme: []
tags:
  - name: Games
    description: Games
  - name: Seller Breaks
    description: Seller Breaks
  - name: Payments
    description: Payments
  - name: Payouts
    description: Payouts
  - name: Account Offers
    description: Account Offers
  - name: Account Orders
    description: Account Orders
  - name: Item Offers
    description: Item Offers
  - name: Item Orders
    description: Item Orders
  - name: Currency Offers
    description: Currency Offers
  - name: Currency Orders
    description: Currency Orders
  - name: Webhooks
    description: Webhook events sent to your endpoints when specific actions occur
  - name: Gift Card Offers
    description: Gift Card Offers
  - name: Gift Card Orders
    description: Gift Card Orders
paths:
  /v2/account-offers/{account}/credentials:
    get:
      tags:
        - Account Offer Credentials
      summary: List credentials
      description: >-
        Retrieve a paginated list of credentials for a specific account offer.
        Only available for non-legacy accounts (created via the new format
        endpoint).
      parameters:
        - name: account
          in: path
          description: The ID of the account offer
          required: true
          schema:
            type: integer
        - name: filter[id]
          in: query
          description: Filter by exact credential ID
          required: false
          schema:
            type: string
        - name: filter[is_sold]
          in: query
          description: Filter by sold status (true/false)
          required: false
          schema:
            type: boolean
        - name: sort
          in: query
          description: >-
            Sort field. Prefix with `-` for descending. Allowed: `id`,
            `created_at`, `updated_at`
          required: false
          schema:
            type: string
            example: '-created_at'
        - name: per_page
          in: query
          description: Number of items per page (max 50)
          required: false
          schema:
            type: integer
            default: 15
            maximum: 50
      responses:
        '200':
          description: Paginated list of credentials
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/AccountOfferCredentialItem'
        '401':
          $ref: '#/components/responses/ErrorUnauthenticated'
        '403':
          $ref: '#/components/responses/ErrorForbidden'
        '422':
          $ref: '#/components/responses/ErrorValidation'
        '429':
          $ref: '#/components/responses/ErrorRateLimited'
      security:
        - BearerToken: []
components:
  schemas:
    AccountOfferCredentialItem:
      description: A single credential entry for an account offer (new format)
      type: object
      properties:
        id:
          description: Unique identifier for the credential
          type: integer
        credentials:
          description: The credential string content
          type: string
        account_offer_id:
          description: ID of the parent account offer
          type: integer
        account_order_id:
          description: ID of the order this credential was sold to, null if unsold
          type: integer
          nullable: true
        is_sold:
          description: Whether this credential has been sold (assigned to an order)
          type: boolean
        created_at:
          description: Unix timestamp when the credential was created
          type: integer
        updated_at:
          description: Unix timestamp of the last modification
          type: integer
  responses:
    ErrorUnauthenticated:
      description: >-
        User is not authenticated, happens when the API key is missing, expired
        or invalid
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                example: Unauthenticated.
    ErrorForbidden:
      description: >-
        User is not authorized to perform this action, happens when you try to
        access a resource you do not have permission to access
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                example: This action is unauthorized.
    ErrorValidation:
      description: Validation errors, happens when the request data is invalid
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                example: The given data was invalid.
              errors:
                type: object
                additionalProperties:
                  type: array
                  items:
                    type: string
                example:
                  field:
                    - Something is wrong with this field!
    ErrorRateLimited:
      description: >-
        Rate limit exceeded, happens when you exceed the rate limit for the
        endpoint
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                example: Too many requests.
  securitySchemes:
    BearerToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````