Set chat rating
Sets the rating for a chat
Try this request in your browser
URL
https://api.natterly.com/api/v1/chats_for_sessions/set_rating
Access
Must be authenticated as a session
If not authorised, a MustBeAuthenticatedAsSession error will be returned.
Parameters
| Parameter | Type | Default |
|---|---|---|
|
chat Required The UUID of the chat |
String | null |
|
rating Required The rating to assign the chat (1 to 5) |
Integer | null |
Errors
| Error | Attributes |
|---|---|
|
ChatNotFound No chat found with given UUID |
Response Data
This action will return a Boolean.