Skip to main content
Poll posts share an existing poll in a user or community feed. Create the poll first with the Poll Repository, then create a post that references the returned pollId.
Create the poll before creating the post. See Poll Creation Guidelines for poll creation examples.

Poll Reference

A poll post points to a pollId returned by the poll creation flow.

Feed Delivery

Publish the poll into a user feed or community feed with optional text.

Parameters

Create a Poll Post

The examples below create a poll post in a community from an existing pollId.

Notes

  • The post creation call does not create the poll. It only attaches an existing poll by ID.
  • Keep the poll question, answers, answer type, and close time in the poll creation flow.
  • Use the post text for feed context or a short prompt; the poll object remains the source of truth for answer options and voting behavior.

Poll Creation

Create the poll object before publishing a poll post.

Text Posts

Create a simple feed post without a poll attachment.

Posts Overview

Review post concepts, retrieval, and moderation flows.