API to close a batch of responses in progress | XM Community

API to close a batch of responses in progress

  • 28 November 2022
  • 4 replies
  • 45 views

Userlevel 3
Badge +5
  • Level 2 ●●
  • 31 replies

Is there an API that I can use to close a batch of responses in progress?
Thanks,
Tim


4 replies

Userlevel 7
Badge +36

Tim
You can use this API to close the response in progress.
Hope it helps!

Userlevel 3
Badge +5

Hi Deepak,
I used POST https://yul1.qualtrics.com/API/v3/surveys/{surveyId}/sessions/{{sessionId}}
and input my surveyID and selected a file with my sessionIDs and I get a 400 Bad Request error. Do I need to select a specific Body and add input a key and value or ?
image.pngThanks,
Tim

Userlevel 7
Badge +36

Tim
Just include the below in the body>raw
{
    "close": true
}
image.png
Hope it helps!

Userlevel 3
Badge +5

That worked. Thanks again!

Leave a Reply