Legacy Dev Forum Posts

 View Only

Sign Up

Can an API create an evaluation based on a list of conversation ID's?

  • 1.  Can an API create an evaluation based on a list of conversation ID's?

    Posted 06-05-2025 18:28

    bnoon | 2023-10-31 15:11:02 UTC | #1

    I am totally new to API's, and currently doing research while trying to use the API explorer to poke around before I get any developers involved. Is this the correct API to be using?

    https://developer.genesys.cloud/devapps/api-explorer#post-api-v2-quality-conversations--conversationId--evaluations

    I've just been sampling outputs using our form named "TestQM_Inbound" and myself as the evaluator "Brad Noon".

    POST /api/v2/quality/conversations/ce87bbc7-e491-4d6b-87e9-7cd31ad7f1b8/evaluations HTTP/1.1 Host: api.usw2.pure.cloud Authorization: Bearer ****************************** Content-Type: application/json

    {"conversation":{"id":"ce87bbc7-e491-4d6b-87e9-7cd31ad7f1b8"},"evaluationForm":{"name":"TestQM_Inbound","questionGroups":[null,null]},"evaluator":{"name":"Brad Noon"}}

    Reponse is:

    { "message": "Agent user is required to create an evaluation", "code": "qm.evaluation.create.error.no.agent", "status": 400, "contextId": "f2f3eccb-39a1-4d0e-ac60-57684e5395f8", "details": [], "errors": [] }


    tim.smith | 2023-10-31 15:19:27 UTC | #2

    Please open a case with Care about this. I would guess it's looking for agent.id to be set on the request body, but that property is explicitly not documented as part of the request and is not available to set in the SDKs, rendering the API endpoint unusable. Care will be able to investigate this error and file a bug for this contract to get it corrected.


    bnoon | 2023-10-31 15:58:15 UTC | #3

    Thanks Tim. I've made a request through TTEC earlier this morning to ask the same question, and I've updated them to ask Genesys Care to get a case opened to help me research/resolve the issue.


    system | 2023-11-30 15:59:04 UTC | #4

    This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 22843