Store an immutable image for managed email content.

Send raw PNG, JPEG, GIF or WebP bytes with the matching Content-Type and optional X-File-Name, or JSON with base64, mime_type and filename. Both forms allow up to 2 MiB decoded image bytes. The response URL can be used directly in HTML; no localized destination registry is created.

post/v1/workspaces/{workspaceId}/assets

Request

  • Base URL: https://api.bangermail.com
  • URL: https://api.bangermail.com/v1/workspaces/{workspaceId}/assets
  • Auth: HTTP bearer

Request body

base64string byte required

Image bytes

mime_type'image/png' | 'image/jpeg' | 'image/gif' | 'image/webp' required
filenamestring

Response

Registered image with immutable public URL.

Changes

No recorded changes to this operation across all 2 revisions of this API.