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

# Attach screenshot



## OpenAPI

````yaml /api-docs.json post /api/shop/marketplace/offers/{offerId}/attach_screenshot
openapi: 3.0.0
info:
  title: Currency Marketplace API
  description: API documentation for Currency Marketplace
  version: 1.0.0
servers:
  - url: https://skycoach.gg/
    description: API Server
security: []
tags:
  - name: Currency Marketplace
    description: Currency Marketplace
  - name: Offers
    description: Offers
  - name: Offer Credentials
    description: Offer Credentials
paths:
  /api/shop/marketplace/offers/{offerId}/attach_screenshot:
    post:
      tags:
        - Offers
      summary: Attach screenshot
      operationId: 428f60aab6415f458fb6161a754fc468
      parameters:
        - name: Accept
          in: header
          description: API response format
          required: true
          schema:
            type: string
            default: application/json
            enum:
              - application/json
        - name: offerId
          in: path
          description: ID of the offer to attach screenshot to
          required: true
          schema:
            type: integer
            example: 123849
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              required:
                - file
              properties:
                file:
                  description: 'Screenshot image file. Supported formats: JPEG, PNG, JPG'
                  type: string
                  format: binary
                  example: screenshot.jpg
              type: object
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                properties:
                  uri:
                    description: URI path to the uploaded screenshot
                    type: string
                    example: >-
                      storage/uploads/product_currency_offer/screenshot/550e8400-e29b-41d4-a716-446655440000.jpg
                type: object
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                properties:
                  file:
                    description: Array of validation errors for file field
                    type: array
                    items:
                      type: string
                      example: The file field is required.
                  error:
                    description: General error message
                    type: string
                    example: The file must be an image.
                type: object
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                properties:
                  message:
                    type: string
                    example: Unauthorized
                type: object
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````