upload
upload

Upload Chat Image Ephemeral

Upload an image attached in a 1:1 DM or a channel to the PRIVATE, 30-day-auto-expiring chat bucket. Returns a stable gs:// ref (store this in the message's metadata.image_ref) plus a short-lived signed URL for the sender's immediate display. Max 8MB; JPG/PNG/WebP/GIF.

post/api/upload/chat-image-ephemeral

Headers

authorizationstring nullable

Response

Successful Response

{"stackTrail":"paths:/api/upload/chat-image-ephemeral:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.