Zalo OA icon

Zalo OA

Gửi tin ZBS Template Message qua SĐT, quản lý người dùng OA và token

Tin Tư Vấn (CS Message) → Gửi Tin Tư Vấn Đính Kèm Ảnh

AI-generated

Summary

Send a consultation message with an image to a Zalo OA user

Inputs

  • csUserId (required) — Zalo User ID of the person to receive the message (must have interacted with the OA within the last 7 days)
  • csImageSource — Method of providing the image: use an Attachment ID (uploaded to Zalo) or a public URL
  • csImageUrl — Public image URL (must be JPG/PNG and ≤5 MB per Zalo's requirements)
  • csAttachmentId — Attachment ID obtained after uploading the image via Zalo's upload API
  • csImageCaption — Optional caption text accompanying the image

Output shape

array of objects, each containing the Zalo API response under the json property

Each result mirrors Zalo's API response; typically includes a success flag, error code, and message; one result per input item

Examples

Example 1: Send a consultation message with an image using a public URL to a specific user

csUserId required; csImageSource = url; csImageUrl provided; csImageCaption optional

Example 2: Send a consultation message with an image using an uploaded attachment ID to a specific user

csUserId required; csImageSource = attachmentId; csAttachmentId provided; csImageCaption optional

Links

Discussion