v56

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-014121451.1 MB
Trust Portal

Upload or replace a custom framework's Trust Portal badge image

Stores a PNG/JPEG/WebP badge (max 256KB) in the organization assets bucket. Does not change the framework's portal visibility.

post/v1/trust-portal/custom-frameworks/badge

Request body

customFrameworkIdstring required

Org-authored custom framework ID the badge belongs to

fileNamestring required

Original file name (PNG, JPEG, or WebP)

fileTypestring required

MIME type of the image

fileDatastring required

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

Example request

{
  "customFrameworkId": "cfrm_6914cd0e16e4c7dccbb54426",
  "fileName": "acme-framework-badge.png",
  "fileType": "image/png"
}

Response

Badge uploaded successfully

successboolean required
badgeUrlstring required

Signed URL to the uploaded badge for immediate display