Create a response
documentedCreate a new response.
POST /responsesResponsesno 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.nicereply.com/responses" \
-u "{{$email}}:{{NICEREPLY_SECRET}}" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"survey_id": "{{$survey_id}}", "feedback_object_id": "{{$feedback_object_id}}", "customer_id": "{{$customer_id}}", "ticket_id": "{{$ticket_id}}", "from": "{{$from}}", "ip_address": "{{$ip_address}}", "answers": [{"question_id": "{{$question_id}}", "scale": {"value": {{$scale_value}}}}] }'