Get survey results
Fetch the results of chosen surveys on one conversation.
/export/conversations/{conversationId}/survey-resultsAuthorization: YOUR_API_KEYNo Bearer prefix.
Base URL: https://customer.rillavoice.com
Parameters
conversationIdstring · uuid · pathrequiredThe Rilla conversation ID, not the recording ID or the CRM event ID.
surveyIdsstring[] · uuid · queryrequiredThe surveys to return, up to 10, by surveyId from the conversation’s surveyResults. Comma-separated or repeated.
Requested surveys the conversation has no results for are listed in notFoundSurveyIds rather than failing the request.
Responses
200Returns ConversationSurveyResultsResponseconversationIdstringID of the conversation.
surveyResultsSurveyConversationResult[]The requested surveys, each with its ID, name and customer-defined data.
notFoundSurveyIdsstring[]Requested surveyIds the conversation has no results for.
401Missing or invalid API key.400Invalid request parameters.404Record not found or outside your key’s scope.Common problems
400 · "Request body failed validation"
The message is the same for invalid query and path parameters. Read errors[].path and errors[].message. Send every parameter in the query string, URL-encoded; these GET requests take no body. surveyIds is required: 1 to 10 survey IDs, comma-separated or repeated.
401 · Missing or invalid key
Use Authorization: YOUR_API_KEY, without Bearer, and the customer.rillavoice.com host. Use the key value, not its ID.
404 · Conversation not found
Use the conversation ID, not recordingId or crmEventID. Check that the conversation belongs to the organization and scope of your API key.