Medallia is a customer experience management software that captures experience data from multiple sources like reviews, social media, and direct customer feedback.

Welcome to the Medallia documentation for Dashbot! Integrating Dashbot into your Medallia application is quick and easy.

Set Up Medallia API Access

Authenticate with Medallia Conversations API:

We will be integrating with the Medallia Conversations end point

Use OAuth 2.0 for authentication with Medallia.

Obtain the access token (${TOKEN}) for authentication. Follow the Medallia documentation for the authentication process.

Extract Conversations from Medallia

const options = {method: 'GET', headers: {accept: 'application/json'}};

fetch('', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));
curl --request GET \
     --url \
     --header 'accept: application/json'

Send the Query via a POST request:

  • Headers:
    • Authorization: Bearer ${TOKEN}
    • Content-Type: application/json

Send the request to get survey responses.

POST responses to Dashbot

When your survey receives a response, post the data to the following endpoint:

Make sure to set the ‘Content-Type’ header to ‘application/json’ and to replace API_KEY_HERE with your api key.

You must send the data with the following fields:

  • text – string – (required)
  • userId – string – (required) – should be the SAME userId for both incoming and outgoing messages this is NOT the bot’s user ID

To review all optional fields see our API reference.

The data to POST should pass the following data:

  "text": "Hi, bot",
  "userId": "+14155551234",
  "platformJson": {
    "whateverJson": "any JSON specific to your platform can be stored here"

Sample cURL

curl -X POST -H "Content-Type: application/json"
     -d '{"text":"Hi, bot","userId":"+14155551234","platformJson":{"whateverJson":"any JSON specific to your platform can be stored here"}}'

Notice, you must replace the placeholder API_KEY_HERE above with your api key.