POST
/
api
/
assets

Authorizations

X-API-KEY
string
header
required

Body

application/json

Schema for uploading an asset with organization, website, and user details.

fileName
string
required

The name of the file, must match the regex pattern (converted to lowercase)

filePath
enum<string>

The file path, must be a valid enum value.

Available options:
announcements,
images,
videos,
banners,
fonts,
posts,
profiles,
minting,
loyalty
organizationId
string

UUID of the organization (optional, converted to lowercase)

userId
string

UUID of the user (optional, converted to lowercase)

websiteId
string

UUID of the website (optional, converted to lowercase)

Response

200 - application/json

Response returned upon successful generation of the signed URL for uploading the file.

signedUrl
string
required

The pre-signed URL to be used for uploading the file.

url
string
required

The URL of the uploaded file.