GET
/
api
/
roleplay
/
get-results
curl --request GET \
  --url https://app.replay.sale/api/roleplay/get-results \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "activityType": "premade-roleplay",
  "activityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "didPass": true,
  "length": 1,
  "wpm": 1,
  "nameCount": 1,
  "numQuestions": 1,
  "numFillerWords": 1,
  "score": 1,
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "user": {
    "learnerName": "<string>",
    "originDomain": "<string>",
    "uniqueIdentifier": "<string>"
  },
  "premadeRoleplay": {
    "title": "<string>",
    "passingScore": 1
  },
  "snippets": [
    {
      "isUser": true,
      "text": "<string>"
    }
  ],
  "scenario": {
    "title": "<string>"
  },
  "customerPersona": {
    "imageUrl": "<string>",
    "name": "<string>"
  },
  "customerSituation": {
    "title": "<string>"
  },
  "promptResponses": [
    {
      "title": "<string>",
      "passed": true,
      "explanation": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

transcriptId
string
required

The ID of the transcript to retrieve

Response

200
application/json

Successfully retrieved transcript

The response is of type object.