Polls are interactive messages that allow recipients to vote on options. They’re perfect for gathering opinions, making group decisions, or conducting quick surveys.
Endpoint
Headers
Device identifier for multi-device support. Required when multiple devices are registered.
Must be
application/json.Request Body
Phone number with country code and WhatsApp suffix.Format:
{country_code}{phone_number}@s.whatsapp.netExample: [email protected]The poll question. This is the main text that recipients will see.Example:
"Siapa Nama Avatar The Last Air Bender?"Recommendations:- Keep questions clear and concise
- Use proper grammar and punctuation
- Make the question specific and unambiguous
Array of poll options. Recipients will choose from these options.Type: Array of stringsRequirements:
- Minimum: 2 options
- Maximum: 12 options
- Each option should be distinct
["Zuko", "Aang", "Katara"]Maximum number of options a recipient can select.Range: 1 to number of optionsExamples:
1- Single choice poll (radio button)2- Can select up to 2 options3+- Multiple choice poll (checkboxes)
Set to
1 for single-choice polls (most common use case).Disappearing message duration in seconds (optional).Common values:
86400- 24 hours604800- 7 days7776000- 90 days
Response
Response status code. Returns
"SUCCESS" on successful send.Human-readable response message.
Code Examples
Response Example
Poll Types
Single Choice Poll (max_answer: 1)
Most common poll type. Recipients can select only one option. Use cases:- Simple yes/no questions
- Rating surveys
- Single preference selection
- Quiz questions with one correct answer
Multiple Choice Poll (max_answer: 2+)
Recipients can select multiple options up to the specified limit. Use cases:- Scheduling (select all available days)
- Feature requests (top 3 features)
- Interest surveys (select all that apply)
- Group decision making
Use Cases
Group Decision Making
Get team consensus on important decisions:Event Planning
Coordinate schedules and gather RSVPs:Customer Feedback
Collect product feedback and satisfaction ratings:Quick Surveys
Conduct market research or user preferences:Educational Quizzes
Create interactive learning experiences:Best Practices
-
Clear Questions
- Be specific and unambiguous
- Use proper grammar
- Keep questions concise
- Avoid double-barreled questions
-
Well-Defined Options
- Make options mutually exclusive
- Use parallel structure
- Keep option text brief
- Order logically (alphabetically, chronologically, etc.)
-
Appropriate max_answer
- Use
1for most polls (single choice) - Use
2-3for “select top X” scenarios - Use
options.lengthfor “select all that apply”
- Use
-
Use Emojis
- Make options more engaging
- Improve visual scanning
- Add personality to polls
- Don’t overuse
-
Context Matters
- Explain why you’re polling
- Provide deadline if applicable
- Share results after poll closes
- Thank participants
-
Timing
- Send during active hours
- Give enough time to respond
- Consider time zones for global teams
- Don’t rush decision-making polls
Poll Limitations
- Option Limit: Maximum 12 options per poll
- Minimum Options: At least 2 options required
- Text Only: Options cannot include images or links
- No Editing: Cannot modify poll after sending
- View Results: Creator can see who voted for what
- Anonymous Voting: Not available (votes are attributed)
- No Poll Closing: Polls stay open indefinitely
- Group Only Features: Some features only work in groups
Poll Results
WhatsApp shows poll results in real-time:- Vote Count: Number of votes per option
- Voter List: See who voted for each option
- Percentage: Percentage of participants who voted
- Your Vote: Highlighted option(s) you selected
- Real-time Updates: Results update as people vote
Poll creators and participants can see detailed voting results, including who voted for which options. Voting is not anonymous.
Common Poll Templates
Meeting Scheduling
Lunch Decision
Feature Prioritization
NPS Survey
Error Responses
Common causes:
- Invalid phone number format
- Missing required fields (question, options, max_answer)
- Invalid options array (empty, too few, too many)
- max_answer exceeds number of options
- max_answer less than 1
Common causes:
- Device not connected
- Network connectivity issues
- WhatsApp service temporarily unavailable
Troubleshooting
Poll Not Sending
- Verify all required fields are provided
- Check options array has 2-12 items
- Ensure max_answer is valid (1 to options.length)
- Verify phone number format is correct
- Check device is connected
Invalid max_answer
- Must be at least 1
- Cannot exceed number of options
- Use 1 for single-choice polls
- Use higher numbers for multiple-choice
Options Not Displaying
- Check options is an array of strings
- Verify no empty strings in options
- Remove any null or undefined values
- Ensure proper JSON formatting
Related Endpoints
- Send Text - Send text messages
- Send Image - Send images
- Send Link - Send links with preview
- Group Info - Get group information
