Reference

Typical Workflows

Sequenced playbooks for each campaign type. Click any step to jump to its playground.

Survey Campaign

  1. 1POST/nfthing/api-key/generate— Get your API key
  2. 2POST/nfthing/survey/create— Create the survey, save post_id
  3. 3POST/nfthing/survey/questions— Add questions using post_id
  4. 4PATCH/nfthing/campaign/toggle-live— Set is_live: true to go live

Round-Robin Survey

  1. 1POST/nfthing/api-key/generate— Get your API key
  2. 2POST/nfthing/survey/round-robin/create— Upload images + create survey (one call)
  3. 3PATCH/nfthing/campaign/toggle-live— Set is_live: true to go live

Binary Survey

  1. 1POST/nfthing/api-key/generate— Get your API key
  2. 2POST/nfthing/survey/binary/create— Upload images + create survey (one call)
  3. 3PATCH/nfthing/campaign/toggle-live— Set is_live: true to go live

Image Survey

  1. 1POST/nfthing/api-key/generate— Get your API key
  2. 2POST/nfthing/survey/image/create— Upload images + create survey (one call)
  3. 3PATCH/nfthing/campaign/toggle-live— Set is_live: true to go live

Advertisement Campaign

  1. 1POST/nfthing/api-key/generate— Get your API key
  2. 2POST/nfthing/advertisement/create— Upload video, save post_id
  3. 3POST/nfthing/advertisement/questions— Add feedback questions (if has_feedback=true)
  4. 4PATCH/nfthing/campaign/toggle-live— Set is_live: true to go live