Conversations
Update rating settings
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the settings:write ability
Body
application/jsondelay_minutesinteger0 asks straight away, 10 after ten minutes, 60 after an hour.
Available options:01060
Format: int64
emailbooleantrue asks email conversations' customers by email.
enabledbooleantrue asks customers to rate conversations when they close.
include_agent_closedbooleantrue also asks when the AI agent closed the conversation.
messengerbooleantrue asks in the messenger.
Response 200
OKdataobjectrequiredShow child attributesHide child attributes
delay_minutesintegerrequiredHow many minutes after a conversation closes the customer is asked to rate it.
Format: int64
emailbooleanrequiredTrue when ratings are asked for by email.
enabledbooleanrequiredTrue when the workspace asks customers to rate closed conversations at all.
include_agent_closedbooleanrequiredTrue when conversations the AI agent closed ask for a rating too.
messengerbooleanrequiredTrue when ratings are asked for in the messenger.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.