Skip to main content
POST
/
settings
/
upload
/
{image_type}
Upload image
curl --request POST \
  --url https://api.wacht.dev/settings/upload/{image_type} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "url": "https://cdn.wacht.services/deployments/123/logo.png"
}

Authorizations

Authorization
string
header
required

API key authentication (format: Bearer {api_key})

Path Parameters

image_type
enum<string>
required

Type of image to upload

Available options:
logo,
favicon,
user-profile,
org-profile,
workspace-profile

Body

multipart/form-data
file
file
required

Image file to upload

Response

Image uploaded successfully

url
string<uri>

CDN URL of the uploaded image

Example:

"https://cdn.wacht.services/deployments/123/logo.png"