Push data

It is possible to use data from an external survey system.

Push survey data for a ticket

POST https://account.omnidesk.com/api/v2/survey/ticketSurvey

Either ticketID or a randomTicketID needs to be specified.

Request Body

{
    "type": "result",
    "status": "success",
    "message": "Survey data is saved for the specified ticket."
}

Sample CURL:

curl --request POST --url https://{{accountName}}.omnidesk.com/api/v2/survey/ticketSurvey --header 'apikey: ' {{apiKey}} --header 'content-type: multipart/form-data; boundary=---011000010111000001101001' --form surveyServer=test.test.com --form 'fields[0][value]=great support from employee' --form 'fields[0][id]=1' --form 'fields[1][value]=feedback to company' --form 'fields[1][id]=2' --form grade=9 --form ticketID=937137

Last updated