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

# Create account offer



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/accounts
openapi: 3.0.3
info:
  title: LoLBoost Seller API
  version: 1.0.0
  description: Seller API for syncing account offers and item offers with LoLBoost.
servers:
  - url: https://api.lolboost.gg
    description: LoLBoost Seller API
security:
  - BearerAuth: []
tags:
  - name: Accounts
    description: Create, list, update, archive and bulk remove account offers.
  - name: Items
    description: Create, list, update, archive and bulk remove item offers.
  - name: Top Ups
    description: Create, list, update, archive and bulk manage top up offers.
  - name: Images
    description: Upload, list and delete seller gallery images for listings.
  - name: Webhooks
    description: Webhook payload examples for sync events.
paths:
  /api/v1/accounts:
    post:
      tags:
        - Accounts
      summary: Create account offer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccountCreateRequest'
            examples:
              createAccountWithUploadedImages:
                summary: Create account with uploaded image IDs
                value:
                  external_id: seller-account-123
                  title: EUW Iron IV Account
                  price: 19.99
                  login: account-login
                  password: account-password
                  ign: SummonerName
                  parameters:
                    rank: Iron IV
                    level: 30
                    blue_essence: 25000
                  image_ids:
                    - 123
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Account'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - BearerAuth: []
components:
  schemas:
    AccountCreateRequest:
      type: object
      required:
        - external_id
        - title
        - price
      properties:
        external_id:
          type: string
          example: seller-account-123
        title:
          type: string
          example: League of Legends Account Diamond EUW
        game:
          type: string
          example: lol
        server:
          type: string
          example: EUW
        price:
          oneOf:
            - type: integer
            - type: number
          example: 1999
          description: >-
            Price in cents. Decimal prices such as 19.99 are accepted and
            converted to cents.
        status:
          type: string
          example: listed
        parameters:
          type: object
          description: >-
            Account details are stored and mapped into public listing fields.
            Rank and division can be sent separately or together, for example
            rank: Iron IV.
          example:
            rank: Iron IV
            flex_rank: Silver I
            level: 30
            blue_essence: 25000
            riot_points: 350
            winrate_percent: 56
            champion_count: 45
            skin_count: 8
        credentials:
          $ref: '#/components/schemas/AccountCredentials'
        description:
          type: string
          example: Hand leveled EUW account.
        rank:
          oneOf:
            - type: string
            - type: integer
          example: Iron IV
          description: >-
            Alias for solo/current rank. Accepts names, IDs, or combined rank
            and division values such as Iron IV, Gold II, Platinum_III or
            diamond-1.
        division:
          oneOf:
            - type: string
            - type: integer
          example: II
          description: Alias for solo/current division. Accepts I, II, III, IV or IDs.
        current_rank:
          oneOf:
            - type: string
            - type: integer
          example: Gold
        current_division:
          oneOf:
            - type: string
            - type: integer
          example: II
        current_lp:
          type: integer
          example: 120
        flex_rank:
          oneOf:
            - type: string
            - type: integer
          example: Silver
        flex_division:
          oneOf:
            - type: string
            - type: integer
          example: I
        flex_lp:
          type: integer
          example: 75
        previous_rank:
          oneOf:
            - type: string
            - type: integer
          example: Platinum
        previous_division:
          oneOf:
            - type: string
            - type: integer
          example: IV
        previous_lp:
          type: integer
          example: 20
        level:
          type: integer
          example: 80
        blue_essence:
          type: integer
          example: 45000
        riot_points:
          type: integer
          example: 350
        winrate_percent:
          type: integer
          example: 56
        champion_count:
          type: integer
          example: 120
        skin_count:
          type: integer
          example: 35
        champions:
          oneOf:
            - type: array
              items:
                type: string
            - type: string
          example:
            - Ahri
            - Lee Sin
        skins:
          oneOf:
            - type: array
              items:
                type: string
            - type: string
          example:
            - Star Guardian Ahri
        roles:
          oneOf:
            - type: array
              items:
                type: string
            - type: string
          example:
            - mid
            - jungle
        in_game_name:
          type: string
          example: SummonerName
        image_ids:
          oneOf:
            - type: array
              items:
                type: integer
            - type: string
            - type: array
              items:
                type: object
                properties:
                  id:
                    type: integer
                  image_id:
                    type: integer
          example:
            - 123
            - 124
          description: >-
            Attach images previously uploaded through POST /api/v1/images.
            Accepts [123], "123,124", [{"id":123}] or [{"image_id":123}].
        image_urls:
          type: array
          items:
            type: string
          example:
            - https://example.com/account.png
        game_data:
          type: object
          description: >-
            Alias for parameters. Account details from game_data are mapped the
            same way as parameters.
    Account:
      type: object
      properties:
        id:
          type: integer
          example: 123
        external_id:
          type: string
          example: seller-account-123
        lolboost_account_id:
          type: integer
          example: 123
        title:
          type: string
          example: League of Legends Account Diamond EUW
        price:
          type: integer
          example: 4999
        status:
          type: string
          enum:
            - draft
            - pending
            - listed
            - processing
            - sold
            - refunded
            - archived
          example: listed
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        sold_at:
          type: string
          format: date-time
          nullable: true
        description:
          type: string
          example: Hand leveled EUW account.
        current_rank:
          oneOf:
            - type: string
            - type: integer
          example: Gold
        current_division:
          oneOf:
            - type: string
            - type: integer
          example: II
        current_lp:
          type: integer
          example: 120
        flex_rank:
          oneOf:
            - type: string
            - type: integer
          example: Silver
        flex_division:
          oneOf:
            - type: string
            - type: integer
          example: I
        flex_lp:
          type: integer
          example: 75
        level:
          type: integer
          example: 80
        blue_essence:
          type: integer
          example: 45000
        riot_points:
          type: integer
          example: 350
        winrate_percent:
          type: integer
          example: 56
        champion_count:
          type: integer
          example: 120
        skin_count:
          type: integer
          example: 35
        image_ids:
          type: array
          items:
            type: integer
          example:
            - 123
            - 124
        image_urls:
          type: array
          items:
            type: string
          example:
            - https://example.com/account.png
        game_data:
          type: object
          nullable: true
    Error:
      type: object
      properties:
        message:
          type: string
          example: Unauthenticated.
    AccountCredentials:
      type: object
      properties:
        login:
          type: string
          example: account-login
        password:
          type: string
          example: account-password
        email_login:
          type: string
          example: mail@example.com
        email_password:
          type: string
          example: mail-password
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key

````