Rate Public Call
POST
/public/v1/voice/sessions/{session_id}/feedback
const url = 'https://api.nuacem.dev/voice-gw/public/v1/voice/sessions/example/feedback';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"rating":1,"comment":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.nuacem.dev/voice-gw/public/v1/voice/sessions/example/feedback \ --header 'Content-Type: application/json' \ --data '{ "rating": 1, "comment": "example" }'The caller’s 1-5 rating (and a comment), once per call; recorded on the call.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”session_id
required
Session Id
string
Request Bodyrequired
Section titled “Request Bodyrequired”Responses
Section titled “Responses”Successful Response
Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}