Skip to content

Rate Public Call

POST
/public/v1/voice/sessions/{session_id}/feedback
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.

session_id
required
Session Id
string
/^[0-9a-f-]{36}$/
Media typeapplication/json
PublicCallFeedback
object
rating
required
Rating
integer
>= 1 <= 5
comment
Any of:
string
<= 1000 characters

Example generated

{
"rating": 1,
"comment": "example"
}

Successful Response

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
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": {}
}
]
}