The survey object
Attributes
Current lifecycle status. One of:
draft, active, paused, archived. Only active surveys are injected into the feed.Determines display order when multiple surveys compete for the same feed slot. Higher values take precedence.
Seconds to wait after a user responds before automatically advancing to the next feed item.
null disables auto-advance.The answer choices. Each option contains:
id— UUIDtext— Answer text (max 200 characters)position— Display order (integer)responseCount— Total responses for this optioncreatedAt— ISO 8601 timestamp
Rules that control when and how often the survey appears. See Placement rules below.
Status lifecycle
Transition between any non-archived status by updating the
status field. Deleting a survey is the only way to move it to archived.
Placement rules
Placement rules control where in the feed a survey appears and how often a user sees it. Every survey must include at least amin_videos_before rule.
The feed evaluates placement rules using the
X-User-Id and X-Session-Id headers sent by the SDK. If these headers are missing, per-user and per-session rules are skipped.
When multiple active surveys are eligible for the same position, the survey with the highest priority wins.