SurveyCampaign

The following API calls are currently available for the SurveyCampaign object:

  • GET LIST
    https://restapi.surveygizmo.com/v2/survey/123456/surveycampaign

    survey Specify the survey to the campaigns to get
    filter See Filtering and Browsing Results for more information
    resultsperpage See Filtering and Browsing Results for more information
    page See Filtering and Browsing Results for more information
  • GET CAMPAIGN
    https://restapi.surveygizmo.com/v2/survey/123456/surveycampaign/100000

    survey Specify the survey to the campaign to get
    sureycampaign Specify the campaign to get
  • CREATE CAMPAIGN
    https://restapi.surveygizmo.com/v2/survey/123456/surveycampaign/type/email?_method=PUT

    survey Specify the survey of the campaign
    type Specify the type of the campaign (link, email, html, js, blog, iframe, popup …)
    name Specify the name of the campaign
    language Specify the default language of the campaign (Auto, English…)
    status Specify the status of the campaign (Active, Closed, Deleted)
    slug Specify the new slug of the campaign
    subtype Specify the distribution link subtype (private) Ex: &subtype=private
  • COPY CAMPAIGN
    http://restapi.surveygizmo.com/v2/survey/123456/surveycampaign.json?id=idofthecampaign&name=somename&copy=true?_method=PUT

    survey Specifies which survey to pull campaign from
    surveycampaign Specifies which campaign to pull message from
    id The Link ID of the campaign
    name Name you’re assigning to your copied campaign
    copy This will copy your campaign
  • DELETE CAMPAIGN
    https://restapi.surveygizmo.com/v2/survey/123456/surveycampaign?_method=DELETE

    survey Specify the survey to the campaign to delete
    sureycampaign Specify the campaign to delete
  • CHANGE CAMPAIGN
    https://restapi.surveygizmo.com/v2/survey/123456/surveycampaign/100000?_method=POST

    survey Specify the survey to the campaign to modify
    surveycampaign Specify the campaign to modify
    name Specify the new name of the campaign
    language Specify the new default language of the campaign (Auto, English…)
    status Specify the new status of the campaign (Active, Closed, Deleted)
    slug specify the new slug of the campaign