latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-192731541009.1 KB

ba3a29c6eb33

Media

Register uploaded email image

Idempotently registers a completed company-scoped image upload in the shared media library and returns its hosted URL.

post/media/complete-upload

Request body

keystring required
filenamestring required
contentTypestring required
fileSizeBytesinteger required
widthinteger
heightinteger
altTextstring required

Example request

{
  "contentType": "image/png"
}

Response

Image registered

successboolean