---
title: "Create an asset upload URL"
method: POST
path: "/statusPage/createAssetUploadUrl"
tags: ["StatusPage"]
---

# Create an asset upload URL

`POST /statusPage/createAssetUploadUrl`

## Request

- Base URL: `https://api.databuddy.cc`
- URL: `https://api.databuddy.cc/statusPage/createAssetUploadUrl`
- Auth: API key in header `x-api-key`

Returns a short-lived presigned URL for uploading a status page logo or favicon. Requires write:status_pages scope.

## Request body

- object
  - `asset` 'logo' | 'favicon', required
  - `contentLength` integer, required
  - `contentType` 'image/jpeg' | 'image/png' | 'image/vnd.microsoft.icon' | 'image/webp' | 'image/x-icon', required
  - `organizationId` string, required

## Response `200`

OK

- unknown

## Other responses

- `400`: 400
- `401`: 401
- `402`: 402
- `403`: 403
- `404`: 404
- `409`: 409
- `429`: 429
- `500`: 500
- `503`: 503

---

[API](https://skmtc.dev/databuddy/apis/databuddy-api.md) - [All operations](https://skmtc.dev/databuddy/apis/databuddy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/databuddy/apis/databuddy-api/revisions/ddfbba648d52?raw)
