Skip to main content
POST
Register asset

Authorizations

x-api-key
string
header
required

Unified API key for server-side SDK and API integrations

Body

application/json
filename
string
required
Minimum string length: 1
s3Key
string
required
Minimum string length: 1
contentType
string
required
Minimum string length: 1
size
number
required
assetType
enum<string>
default:content-image
Available options:
content-image,
content-document,
lead-magnet
imageType
enum<string>

Category of image for use in email templates

Available options:
logo,
hero,
header,
product,
background,
icon,
other
websiteId
string<uuid>
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Response

Default Response

success
boolean
required
asset
object
required