Get assessments done for a conversation by logged in user

GET /v1/Insights/QualityManagement/Assessments

Get assessments done for a conversation by logged in user

Headers

  • Authorization string

    The Authorization HTTP request header

Query parameters

  • SegmentId string

    The id of the segment.

  • PageSize integer(int64)

    How many resources to return in each list page. The default is 50, and the maximum is 1000.

    Minimum value is 1, maximum value is 1000.

  • Page integer

    The page index. This value is simply for client state.

    Minimum value is 0.

  • PageToken string

    The page token. This is provided by the API.

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • assessments array[object]
      Hide assessments attributes Show assessments attributes object
      • account_sid string | null

        The unique SID identifier of the Account.

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

      • assessment_sid string | null

        The SID of the assessment

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^FM[0-9a-fA-F]{32}$.

      • offset number | null

        Offset of the conversation

      • report boolean | null

        The flag indicating if this assessment is part of report

      • weight number | null

        The weightage given to this comment

      • agent_id string | null

        The id of the Agent

      • segment_id string | null

        Segment Id of conversation

      • user_name string | null

        The name of the user.

      • user_email string | null

        The email id of the user.

      • answer_text string | null

        The answer text selected by user

      • answer_id string | null

        The id of the answer selected by user

      • assessment

        Assessment Details associated with an assessment

      • timestamp number | null
      • url string(uri) | null
    • meta object
      Hide meta attributes Show meta attributes object
      • first_page_url string(uri)
      • key string
      • next_page_url string(uri) | null
      • page integer
      • page_size integer
      • previous_page_url string(uri) | null
      • url string(uri)
GET /v1/Insights/QualityManagement/Assessments
curl \
 --request GET 'https://flex-api.twilio.com/v1/Insights/QualityManagement/Assessments' \
 --user "username:password" \
 --header "Authorization: string"
Response examples (200)
{
  "meta": {
    "key": "assessments",
    "url": "https://flex-api.twilio.com/v1/Insights/QualityManagement/Assessments?SegmentId=dbdf1f7b-c776-5e78-9676-98a397fb3cdc&PageSize=50&Page=0",
    "page": 0,
    "page_size": 50,
    "next_page_url": null,
    "first_page_url": "https://flex-api.twilio.com/v1/Insights/QualityManagement/Assessments?SegmentId=dbdf1f7b-c776-5e78-9676-98a397fb3cdc&PageSize=50&Page=0",
    "previous_page_url": null
  },
  "assessments": [
    {
      "url": "https://flex-api.twilio.com/v1/Insights/QualityManagement/Assessments/FMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "offset": "0.0",
      "report": true,
      "weight": "1",
      "agent_id": "5d80ee80-7608-55df-b2b2-5ab5608b9831",
      "answer_id": "ed8697d3-558d-46c3-9b73-cd21cd93cbb3",
      "timestamp": "1657329694199",
      "user_name": "Supervisor",
      "assessment": {
        "questionnaire": {
          "name": "Customer Experience",
          "question": {
            "name": "Active listening",
            "category": {
              "name": "Good for Training",
              "category_sid": "FYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
            },
            "question_sid": "GEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
          },
          "questionnaire_sid": "GMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
        }
      },
      "segment_id": "dbdf1f7b-c776-5e78-9676-98a397fb3cdc",
      "user_email": "supervisor@example.com",
      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "answer_text": "Fair",
      "assessment_sid": "FMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
    }
  ]
}
{
  "meta": {
    "key": "assessments",
    "url": "https://flex-api.twilio.com/v1/Insights/QualityManagement/Assessments?SegmentId=dbdf1f7b-c776-5e78-9676-98a397fb3cdc&PageSize=50&Page=0",
    "page": 0,
    "page_size": 50,
    "next_page_url": null,
    "first_page_url": "https://flex-api.twilio.com/v1/Insights/QualityManagement/Assessments?SegmentId=dbdf1f7b-c776-5e78-9676-98a397fb3cdc&PageSize=50&Page=0",
    "previous_page_url": null
  },
  "assessments": []
}