SurveyCampaignClient

The eligible campaign to show, or null if none

  • description
    Type: string | null
    required
  • id
    Type: string
    required

    Campaign uuid (echo back on respond)

  • key
    Type: string
    required

    Stable slug, e.g. 'pmf-2026-q3'

  • questions
    Type: array object[] · SurveyQuestion[]
    required
    • id
      Type: string
      required

      Stable within the campaign

    • label
      Type: string
      required
    • type
      Type: string · SurveyQuestionTypeenum
      required
      values
      • single
      • multi
      • text
      • scale
      • nps
    • options
      Type: array object[] · SurveyQuestionOption[]

      Choices for single | multi

    • required
      Type: boolean
    • scale
      Type: object · SurveyQuestionScale

      Bounds for scale | nps

  • title
    Type: string
    required

scanr.ai API