Skip to main content

Survey

Template

How to create your own survey

To create your own Survey you have to follow, for the most part, the same steps that are described in the How to create your own webview guide.

The difference with a regular webview is the data submission, which you should do by making an HTTP POST request to: https://channels.moveo.ai/v1/survey/${integration_id}, using the following headers and body:

headers: {
Authorization: `Bearer ${signature}`,
'X-Moveo-Session-Id': sessionId,
}
  body: {
session_id: sessionId,
timestamp: Date.now(), // unix timestamp,
feedback: 'Everything was awesome',
rating: 5
}