Skip to main content
POST
Request Company Logo Upload URL

Endpoint

Base URL: http://localhost:3000/api/v1
This endpoint requires authentication and Company role.

Authentication

Include the access token in the Authorization header:

Description

Requests a presigned URL for uploading a company logo directly to Cloudflare R2.

Request Body

fileName
string
required
Original image file name, for example logo.png.
mimeType
string
required
Image MIME type. Supported values: image/jpeg, image/png, image/webp.

Request Shape

Request Example

Response

Success Response (200 OK)

Response Shape

Error Responses

400 Bad Request - Invalid MIME Type

401 Unauthorized

403 Forbidden

Next Steps

  1. Upload the raw file to uploadUrl using PUT (see Upload Company Image File)
  2. Do not send a bearer token to the storage URL
  3. Confirm the upload using Confirm Company Image Upload