PUT
/v1/admin/surveys/{id}
Update Survey
curl -X PUT https://api.{cluster}.{platform}.voiger.io/v1/admin/surveys/{id} \ -H "Cookie: sid=$VOIGER_SESSION" \ -H "x-workspace-code: your-workspace-code" \ -H "x-csrf-token: $CSRF_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "survey": { "status": "blocked" } }'
Parameters
x-workspace-code
string
required
in header
x-csrf-token
string
required
in header
id
string
required
in path
Response
survey▾idnamestatusconfig▾repeat_keytermination_keytimeoutmax_attemptsmessages▾invalid▾modetts▾textlanguageaudio▾idrepeat▾modetts▾textlanguageaudio▾idthank_you▾modetts▾textlanguageaudio▾idtimeout▾modetts▾textlanguageaudio▾idoutbound_enabledquestions▾idsequencetitletypemodetts▾textlanguageaudio▾idscale_minscale_maxclassification▾labelfromtosentimentopt_for_agent_performancecreated_atupdated_at