Upload an image for email
uploadImageKeep an image for email: give a public https link to it (a product or collection photo, a recipe photo, a logo) and get back its address in Kooga, for a layout's image block or for the logo (updateEmailBrand). It is asked for as PNG, JPEG or GIF, the kinds Gmail and Outlook show, and a store's CDN usually answers with one of those. An SVG or WebP that comes back as it is gets refused: ask the person for a PNG or JPG. Up to 5 MB.
Only for a workspace with subscribed email contacts.
A change inside Kooga: it runs at once, as the person.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | A public https link to the image | |
| workspaceId | No | The workspace, as listWorkspaces gives it (its id or slug). Leave it out when this connection reaches one workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The image's address in Kooga, for an image block or the logo | |
| kind | Yes | ||
| bytes | Yes |