Pular para o conteúdo

PUT /v1/csat/settings

PUT
/v1/csat/settings
curl --request PUT \
--url https://seu-endereco-da-api/v1/csat/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "agentMinResponses": 1, "recoveryEnabled": true, "recoveryMaxRating": 1, "recoveryOwnerMode": "department_supervisor", "recoveryOwnerUserId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "recoverySlaHours": 1, "recoveryNotifyOnBreach": true, "recoveryIncludeNoReply": true, "insightEnabled": true, "insightAuto": true, "insightMaxRating": 1, "insightMonthlyCapCents": 1, "recoveryOutcomes": [ { "label": "example", "recovered": true } ] }'

Permissão que a Chave de acesso precisa: Gerenciar pesquisa de satisfação (csat:manage).

Media typeapplication/json
object
agentMinResponses
number
>= 1 <= 200
recoveryEnabled
boolean
recoveryMaxRating
number
>= 1 <= 10
recoveryOwnerMode
string
Allowed values: department_supervisor fixed_user
recoveryOwnerUserId
string format: uuid
nullable
recoverySlaHours
number
>= 1 <= 720
recoveryNotifyOnBreach
boolean
recoveryIncludeNoReply
boolean
insightEnabled
boolean
insightAuto
boolean
insightMaxRating
number
>= 1 <= 10
insightMonthlyCapCents
number
<= 1000000
recoveryOutcomes
Array<object>
object
label
required
string
>= 1 characters <= 40 characters
recovered
required
boolean
Media typeapplication/json
object
agentMinResponses
required

How many answers an agent needs before the screen treats the score as a score

number
recoveryEnabled
required

Whether a bad rating opens a recovery case

boolean
recoveryMaxRating
required

Highest rating that still opens a recovery case

number
recoveryOwnerMode
required
string
Allowed values: department_supervisor fixed_user
recoveryOwnerUserId
required
string
nullable
recoverySlaHours
required

Hours the owner has before the case is late

number
recoveryNotifyOnBreach
required

Whether a case past its deadline warns the supervisor once

boolean
recoveryIncludeNoReply
required

Whether a customer who ignored the survey also becomes a recovery case

boolean
insightEnabled
required

Whether the AI may read one attendance and explain its rating

boolean
insightAuto
required

Whether that reading happens on its own when a rating arrives

boolean
insightMaxRating
required

The worst rating whose conversation the AI reads

number
insightMonthlyCapCents
required

How much this analysis may spend in a month, in cents; zero means no cap of its own

number
insightSpentThisMonthCents
required

How much this analysis already spent this month, in cents

number
recoveryOutcomes
required
Array<object>
object
label
required
string
recovered
required

Whether closing a case with this outcome counts as a recovered customer

boolean

Example

{
"recoveryOwnerMode": "department_supervisor"
}