Skip to main content
POST
Upload or replace a custom framework's Trust Portal badge image

Authorizations

X-API-Key
string
header
required

API key for authentication

Body

application/json
customFrameworkId
string
required

Org-authored custom framework ID the badge belongs to

Example:

"cfrm_6914cd0e16e4c7dccbb54426"

fileName
string
required

Original file name (PNG, JPEG, or WebP)

Example:

"acme-framework-badge.png"

fileType
string
required

MIME type of the image

Example:

"image/png"

fileData
string
required

Base64 encoded image content (PNG/JPEG/WebP, max 256KB decoded)

Response

201 - application/json

Badge uploaded successfully

success
boolean
required
badgeUrl
string
required

Signed URL to the uploaded badge for immediate display