Set chat rating

Sets the rating for a chat

Try this request in your browser

/api/ /chats_for_sessions/set_rating

Headers

X-Session-ID

Parameters

chat String
rating Integer

The request output will be shown here...

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.