Sign in

Update campaign

documented

Update/copy a campaign (via _method=POST).

POST /survey/{survey_id}/surveycampaign/{surveycampaign_id}SurveyCampaignsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.alchemer.com/v5/survey/{{$survey_id}}/surveycampaign/{{$surveycampaign_id}}?_method=POST&api_token={{SURVEYGIZMO_API_KEY}}&api_token_secret={{SURVEYGIZMO_SECRET}}" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$name}}", "language": "{{$language}}", "status": "{{$status}}", "type": "{{$type}}", "slug": "{{$slug}}", "subtype": "{{$subtype}}", "subdomain": "{{$subdomain}}", "theme": "{{$theme}}", "linkdates": {"open": "{{$open_date}}", "close": "{{$close_date}}"}, "tokenvariables": "{{$tokenvariables}}", "contact_list": {{$contact_list}}, "copy": {{$copy}} }'"