Zalo OA icon

Zalo OA

Zalo Official Account API

Zalo OA → Upload Image

AI-generated

Summary

Upload an image to the Zalo Official Account either by providing the image as binary data or via an image URL.

Inputs

  • binaryData — Set to true if the image is provided as binary data.
  • binaryProperty (required) — The name of the binary property that contains the image data; required if binaryData is true.
  • imageUrl (required) — The URL of the image to upload; required if binaryData is false.

Output shape

a JSON object representing the upload response from Zalo OA, potentially including the image ID and URL.

The output depends on the Zalo OA API response. Only one of binaryProperty or imageUrl must be provided, based on the binaryData flag.

Links

Discussion