SubmitEngagementRating submits a satisfaction rating for an engagement.
POST/api/v1/engagements/webchat/ratings
PUBLIC ENDPOINT - Authenticated via widget session token. Validates the token's engagement context and deduplicates submissions.
Errors
- NOT_FOUND: Engagement does not exist
- FAILED_PRECONDITION: Engagement is not in a closed/resolved state
- ALREADY_EXISTS: Rating already submitted for this engagement
- INVALID_ARGUMENT: Rating not in 1-5 range
Request
Responses
- 200
- default
A successful response.
An unexpected error response.