Skip to main content
Use image handling when your app needs to upload image files for avatars, posts, comments, messages, stories, or other media surfaces. Image uploads return image file data with a fileId, URL, metadata, access type, and, on supported platforms, alt text. For image posts, comments, messages, and avatars, first upload the image through the file repository, then pass the returned image object or fileId into the relevant creation or update API.

Platform Surface

Parameters

Upload An Image

Upload an image first, then use the returned image object or fileId in avatar, post, comment, message, or story APIs.

Read Image Data

Read image data when your app needs image dimensions, alt text, or a sized image URL for rendering.

Image Posts

Attach uploaded images to social posts.

Image Comments

Attach uploaded images to comments.

File Handling

Upload and inspect generic file attachments.