Create survey
documentedCreate a new survey with configuration and recipients.
POST /surveysSurveysno 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://feedback.callexa.com/api/v1/surveys" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"internal_name": "{{$internal_name}}", "title": "{{$title}}", "description": "{{$description}}", "language": "{{$language}}", "type": "{{$survey_type}}", "questions": [{"text": "{{$question1_text}}", "type": "rating", "scale": {{$scale}} }], "recipients": [{"email": "{{$recipient_email}}", "name": "{{$recipient_name}}"}] }'