Lomavis icon

Lomavis

Interact with Lomavis API for social media management

Actions11

Media → Upload

AI-generated

Summary

Upload a media file to a specified Lomavis profile group using a three-step process: initiate upload, upload binary data to a signed URL, and confirm upload completion.

Inputs

  • Profile Group UUID (required) — UUID of the target profile group where the media will be uploaded.
  • Binary Property (required) — Name of the binary property in the input item that contains the file data to upload.
  • Additional Fields — Optional metadata and overrides for the upload including custom file name, file size in bytes, file type (image, video, PDF), image dimensions, MIME type code, whether to store in Lomavis media library, and if the upload should be preview-only.

Output shape

a single record containing the media UUID and success status of the upload.

The output JSON includes 'media_uuid' representing the uploaded media's UUID in Lomavis and 'success' set to true upon successful upload.

Examples

Example 1: Upload an image file to a given profile group with a custom file name and store it in the Lomavis media library.

Profile Group UUID set to target identifier, Binary Property set to the input file binary field, Additional Fields with Custom File Name and Media Library Upload set to true.

Links

Discussion