SocialAPI icon

SocialAPI

Manage social accounts, posts, and the inbox via SocialAPI

Media → Upload

AI-generated

Summary

Upload a media file to SocialAPI from an incoming binary field or by fetching it from a URL. The node detects the file name and MIME type where possible, requests a presigned upload URL, sends the file directly to storage, then verifies the upload and returns the resulting media item.

Inputs

  • Source — Choose Binary File (default) or URL as the file source.
  • Input Binary Field (required) — When Source is Binary File, the incoming binary property to upload; defaults to data.
  • URL (required) — When Source is URL, the address from which the node fetches the file.
  • Options — Optional Content Type and File Name values override the detected MIME type and file name. For binary input, defaults come from binary metadata; for URL input, the MIME type comes from the response Content-Type header and the name from the URL path.

Output shape

A list of JSON items containing the verified media item returned by SocialAPI.

The node uploads the file using a presigned storage URL, then calls the media verification endpoint. It processes each incoming item and appends the returned JSON items; with Continue On Fail enabled, errors are returned as items containing an error field.

Links

Discussion