---
updatedAt: 2026-04-24T13:19:28.000Z
agentTools:
  projectIndex: https://docs.bokio.se/llms.txt
---

# Get an upload

Retrieve the information of the upload with the matching uploadId.

**Scope:** `uploads:read`


# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "version": "1.0",
    "title": "Company API",
    "description": "The Bokio Company API containing all resources for company tenant.",
    "termsOfService": "https://docs.bokio.se/page/terms/",
    "contact": {
      "name": "Bokio",
      "url": "https://docs.bokio.se",
      "email": "support@bokio.se"
    }
  },
  "servers": [
    {
      "url": "https://api.bokio.se/v1",
      "description": "Bokio API",
      "x-bokio-api": true
    }
  ],
  "security": [
    {
      "tokenAuth": []
    }
  ],
  "tags": [
    {
      "name": "uploads",
      "description": "Operations for managing file uploads"
    }
  ],
  "externalDocs": {
    "url": "https://docs.bokio.se",
    "description": "Read the API Documentation"
  },
  "paths": {
    "/companies/{companyId}/uploads/{uploadId}": {
      "parameters": [
        {
          "name": "companyId",
          "in": "path",
          "required": true,
          "description": "Unique identifier of the company",
          "schema": {
            "type": "string",
            "format": "uuid"
          },
          "example": "ea9ee4dd-fae3-4aec-a7db-6fc9cc1f8135"
        },
        {
          "name": "uploadId",
          "in": "path",
          "required": true,
          "description": "Unique identifier of the upload",
          "schema": {
            "type": "string",
            "format": "uuid"
          },
          "example": "a419cf69-db6f-4de9-992c-b1a60942a443"
        }
      ],
      "get": {
        "tags": [
          "uploads"
        ],
        "summary": "Get an upload",
        "description": "Retrieve the information of the upload with the matching uploadId.\n\n**Scope:** `uploads:read`\n",
        "operationId": "get-upload",
        "responses": {
          "200": {
            "description": "upload found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/upload"
                },
                "examples": {
                  "upload found": {
                    "value": {
                      "id": "a419cf69-db6f-4de9-992c-b1a60942a443",
                      "description": "example.png",
                      "contentType": "img/png",
                      "journalEntryId": "835ba700-b306-4bd9-8447-59207b6b0002"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "upload not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/apiError"
                },
                "examples": {
                  "Error": {
                    "value": {
                      "code": "not-found",
                      "message": "upload not found",
                      "bokioErrorId": "9b408943-7a1e-47ac-85a7-ac52b2c210d3"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "tokenAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "tokenAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "schemas": {
      "apiError": {
        "type": "object",
        "title": "apiError",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "bokioErrorId": {
            "type": "string",
            "format": "uuid"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "field": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "upload": {
        "type": "object",
        "title": "upload",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "description": {
            "type": "string"
          },
          "contentType": {
            "type": "string"
          },
          "journalEntryId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "example": {
          "id": "a419cf69-db6f-4de9-992c-b1a60942a443",
          "description": "example.png",
          "contentType": "img/png",
          "journalEntryId": "835ba700-b306-4bd9-8447-59207b6b0002"
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": false,
    "samples-languages": [
      "shell",
      "http",
      "node",
      "csharp",
      "java"
    ]
  }
}
```