Create campaign
documentedCreate a new survey campaign (via _method=PUT).
PUT /survey/{survey_id}/surveycampaignSurveyCampaignsno implementation yet0 runsNo 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?api_token={{SURVEYGIZMO_API_KEY}}&api_token_secret={{SURVEYGIZMO_SECRET}}" \
-X PUT \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"type": "{{$type}}", "name": "{{$name}}", "language": "{{$language}}", "status": "{{$status}}", "slug": "{{$slug}}", "subtype": "{{$subtype}}", "secure": {{$secure}}}'