x Zalo User icon

x Zalo User

Interact with Zalo User API

Group → Create Poll

AI-generated

Summary

Create a poll in a specified Zalo group by providing the group ID, poll question, and poll options.

Inputs

  • Group ID (required) — ID of the group where the poll will be created.
  • Poll Question (required) — The question text to be asked in the poll.
  • Poll Options (required) — Comma-separated list of options for the poll.

Output shape

a single JSON object per input item representing the created poll, including group ID, poll question, array of poll options, success status, and timestamp

The operation outputs a JSON object with keys: success (boolean), resource ('group'), operation ('createPoll'), groupId (string), pollQuestion (string), options (string array), and createdAt (ISO 8601 timestamp). No pagination or error envelope beyond standard node error handling.

Examples

Example 1: Create poll with question 'Favorite color?' and options 'Red, Green, Blue' in group with ID '123456'

Set Group ID to '123456', Poll Question to 'Favorite color?', Poll Options to 'Red, Green, Blue'

Discussion