cURL
curl --request POST \ --url https://api.getversive.com/api/v1/question-logic \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "study_id": "study_123", "question_id": "q_123", "operation": "equals", "comparison_value": "yes", "comparison_value_type": "text", "next_question_id": "q_124", "action_type": "skip_to" } '
{ "id": "logic_123", "study_id": "study_123", "question_id": "q_123", "operation": "equals", "comparison_value": "yes", "comparison_value_type": "text", "next_question_id": "q_124", "redirect_url": null, "end_interview": false, "action_type": "skip_to", "language": "English" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response