Skip to main content
inputCreatePollInput

Fields

choices
[String!]

Choice texts in display order — required for MULTIPLE_CHOICE polls (2 to 5), not accepted for other variants

clientMutationId
String

A unique identifier for the client performing the mutation.

commentPrompt
String

Follow-up question shown after answering

notify
Boolean
default:false

Whether to notify the Network

pollType
required

The poll variant to create

publicAnswers
Boolean

Whether voter identities are publicly listable (MULTIPLE_CHOICE polls only). Immutable once the poll has answers.

publishedAt
ISO8601DateTime

When to publish — required when status is SCHEDULED

spaceId
ID!
required

ID of the space to post in — numeric resource ID or GlobalID.

status
default:POSTED

POSTED (default), DRAFT, or SCHEDULED

title
String!
required

The poll question