Upload image
plunk_upload_imageUpload an image to Plunk storage and get a hosted URL for template or campaign HTML. Use when a body needs an image not already hosted publicly.
Instructions
Purpose: Upload an image to Plunk's storage and get back a URL usable in template and campaign HTML.
Not for: File attachments on an email — those go inline as base64 in plunk_send_transactional's attachments field.
Returns: The hosted URL of the uploaded image.
Use when: A template or campaign body needs an image that is not already hosted somewhere public.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Base64-encoded image bytes. | |
| filename | Yes | ||
| contentType | Yes | MIME type, e.g. 'image/png' |