Create survey response
documentedCreate a survey response (score, optional details) for a person.
POST /v1/survey_responses.jsonSurvey responsesno 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.delighted.com/v1/survey_responses.json" \
-X POST \
-u {{DELIGHTED_API_KEY}}: \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{ "person": "{{$person_id}}", "score": {{$score}}, "comment": "{{$comment}}", "created_at": {{$created_at}}, "person_properties": {"customer_id": "{{$customer_id}}", "location": "{{$location}}"} }'