---
title: "Upload an image"
method: POST
path: "/v1/upload/image"
tags: ["internal"]
---

# Upload an image

`POST /v1/upload/image`

## Request

- Base URL: `https://api.companydata.dk` (the document declares no server; this is the origin it was published from)
- URL: `https://api.companydata.dk/v1/upload/image`
- Auth: HTTP bearer

Upload an image file (JPEG, PNG, WebP, GIF). Max 5MB.

## Response `200`

Successful Response

- UploadResponse: Response for successful upload.
  - `url` string, required

## Other responses

- `400`: Invalid file
- `413`: File too large
- `422`: Validation Error

---

[API](https://skmtc.dev/companydata/apis/companydata-dk-api.md) · [All operations](https://skmtc.dev/companydata/apis/companydata-dk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/companydata/apis/companydata-dk-api/revisions/1cc6c361ae64?raw)
