POST
Upload media

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data

Multipart form with fields: file (JPEG, PNG, or WebP), purpose=room_listing_image, entity_type=room, and entity_id=.

Request payload for media upload.

file
file
required

file value for media upload request.

purpose
string
required

purpose value for media upload request.

entity_type
string
required

Type name of the audited entity.

entity_id
string<uuid>
required

Identifier of the audited entity.

Response

Uploaded media asset with CDN URL

data
object
required

Endpoint-specific response payload. See the referenced schema for the resource fields.

request_id
string
required

Request correlation identifier returned from X-Request-Id or generated by the API.

meta
object

Optional response metadata such as pagination limits, counts, or export context.