Skip to content
dimmiDocs

Conversations

Update rating settings

PATCH/api/v1/conversation-rating-settings

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the settings:write ability

Body

application/json
delay_minutesinteger

0 asks straight away, 10 after ten minutes, 60 after an hour.

Available options:01060

Format: int64

emailboolean

true asks email conversations' customers by email.

enabledboolean

true asks customers to rate conversations when they close.

include_agent_closedboolean

true also asks when the AI agent closed the conversation.

messengerboolean

true asks in the messenger.

Response 200

OK
dataobjectrequired
Show child attributes
delay_minutesintegerrequired

How many minutes after a conversation closes the customer is asked to rate it.

Format: int64

emailbooleanrequired

True when ratings are asked for by email.

enabledbooleanrequired

True when the workspace asks customers to rate closed conversations at all.

include_agent_closedbooleanrequired

True when conversations the AI agent closed ask for a rating too.

messengerbooleanrequired

True when ratings are asked for in the messenger.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.