Write to the signed-in user’s private Dabble Me journal on a calendar day (default: today in the account timezone). Plain text becomes paragraphs. By default, text appends to an existing entry on that day; set merge_with_existing false to fail instead. Optionally attach one image using uploaded_image_key (preferred), a public HTTPS image URL, or small base64 data.
- date
- — Optional YYYY-MM-DD; omitted means today in the account timezone.
- body (required)
- — Entry text (plain text; line breaks become paragraphs). HTML is escaped. Use an empty string for an image-only entry when image_url or image_base64 is set.
- merge_with_existing
- — When true (default), append to the existing entry for this date if one exists. When false, return an error if the date is already taken.
- image_url
- — Optional https URL of an image to attach (one image per call). Fetched by the server; private/loopback hosts are rejected. In production, only https URLs are accepted.
- uploaded_image_key
- — Preferred image attachment flow. First call get_image_upload_url, upload the image bytes with the returned PUT URL and headers, then pass the returned uploaded_image_key here. Do not combine with image_url or image_base64.
- image_base64
- — Optional image as base64: either a data URL (data:image/png;base64,...) or raw base64 bytes. Resize the image to fit within 800x800 before encoding. If raw, set image_mime_type (e.g. image/png) or it defaults to image/jpeg.
- image_mime_type
- — When image_base64 is raw (not a data URL), MIME type of the decoded bytes, e.g. image/png or image/jpeg.