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

# Upload Server-Side Binary File

> Upload and encrypt a binary DLL or payload file (supports up to 50MB).



## OpenAPI

````yaml /api-reference/openapi/qpapel.json post /serverside-files
openapi: 3.0.3
info:
  title: qPapel Protection Web API
  version: 1.0.0
  description: >
    qPapel Protection API provides developer-grade license validation, remote
    software configuration, staff URL delegation, client anti-cheat heuristics,
    and Discord community integration for desktop applications and loaders.
  contact:
    name: PapelShip Developer Support
    url: https://papelship.com
servers:
  - url: https://app.papelship.com/api/qpapel/v1
    description: Production Server
security:
  - BearerAuth: []
  - ApiKeyHeader: []
  - ApiKeyHeaderLegacy: []
tags:
  - name: License Keys
    description: >-
      Programmatic management of customer license keys, hardware ID bindings,
      activations, and bans.
  - name: Reseller Keys
    description: >-
      Multi-seat reseller key creation, extension, duration freeze, and license
      allocation.
  - name: Remote Settings
    description: >-
      Secure remote runtime configuration mapping, build SHA-256 verification,
      and dynamic values.
  - name: Staff Management
    description: Temporary and scope-limited web portal URLs for support moderators.
  - name: Discord Integrations
    description: >-
      Guild linkage, anti-cheat event channel streaming, and role-based bot
      permissions.
  - name: Client Security & Anti-Cheat
    description: >-
      Device fingerprint monitoring, process blacklists, window title filters,
      and server-side protected strings/files.
paths:
  /serverside-files:
    post:
      tags:
        - Client Security & Anti-Cheat
      summary: Upload Server-Side Binary File
      description: Upload and encrypt a binary DLL or payload file (supports up to 50MB).
      operationId: uploadServersideFile
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
                - label
                - file
              properties:
                label:
                  type: string
                  description: Descriptive title.
                  example: Main Loader DLL
                file:
                  type: string
                  format: binary
                  description: DLL or binary file payload.
                product_cheat_value:
                  type: string
                  description: Associated product cheat_value.
                  example: cs2_cheat
                force_key_check:
                  type: boolean
                  default: true
                force_encrypted_download:
                  type: boolean
                  default: true
                install_path:
                  type: string
                  description: Destination path on the target machine.
                  example: C:\ProgramData\qPapel\core.dll
      responses:
        '200':
          description: File uploaded and encrypted.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    $ref: '#/components/schemas/ServersideFile'
        '400':
          $ref: '#/components/responses/BadRequestError'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
components:
  schemas:
    ServersideFile:
      type: object
      properties:
        id:
          type: integer
          example: 8
        user_id:
          type: integer
          example: 1
        access_id:
          type: string
          example: '583920194829'
        label:
          type: string
          example: Main Loader DLL
        original_name:
          type: string
          example: core.dll
        stored_name:
          type: string
          example: 583920194829_core.dll
        storage_path:
          type: string
          example: uploads/serverside-files/1/583920194829_core.dll
        mime_type:
          type: string
          example: application/octet-stream
        file_size:
          type: integer
          example: 1048576
        file_hash:
          type: string
          example: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
        status:
          type: string
          enum:
            - active
            - inactive
          example: active
        download_count:
          type: integer
          example: 142
        last_downloaded:
          type: string
          format: date-time
          example: '2026-06-12T06:05:00.000Z'
        product_cheat_value:
          type: string
          nullable: true
          example: cs2_cheat
        force_key_check:
          type: boolean
          example: true
        force_encrypted_download:
          type: boolean
          example: true
        install_path:
          type: string
          nullable: true
          example: C:\ProgramData\qPapel\temp.dll
    StandardErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
          example: Invalid parameters provided
  responses:
    BadRequestError:
      description: Invalid request body or query parameter structure.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/StandardErrorResponse'
          example:
            success: false
            error: Missing required field or invalid value
    UnauthorizedError:
      description: Authentication failed. Missing or invalid developer API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/StandardErrorResponse'
          example:
            success: false
            error: Unauthorized access. Valid API key required.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API_KEY
      description: >-
        Standard HTTP Bearer token authentication header (e.g. `Authorization:
        Bearer pk_live_...`).
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Custom header API key authentication parameter (`x-api-key:
        pk_live_...`).
    ApiKeyHeaderLegacy:
      type: apiKey
      in: header
      name: api-key
      description: >-
        Legacy custom header API key fallback parameter (`api-key:
        pk_live_...`).

````