API reference
Satisfaction surveys API reference descriptions are provided in English to preserve the exact published contract.
Read the survey decision for a conversation Create a survey for a closed conversation Ask the platform to re-evaluate a refused survey Link a dispatched survey to its message Report customer satisfaction outcomes by inbox and agent Get customer satisfaction survey settings Configure customer satisfaction surveys Read a public customer satisfaction survey Submit a public customer satisfaction response Read the survey decision for a conversation GET /v1/accounts/{AC}/conversations/{CO}/csat-surveys
getV1AccountsByAcConversationsByCoCsatSurveys200
: every closed conversation under an enabled policy carries exactly one survey decision, made by the platform. The list holds that decision or nothing.
Required scope: `conversations:read`.
Parameters
Parameters Name Type Required Description ACpath · string yes COpath · string (CO… SID) yes
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors .
Create a survey for a closed conversation POST /v1/accounts/{AC}/conversations/{CO}/csat-surveys
postV1AccountsByAcConversationsByCoCsatSurveysIdempotency-Key required 201
Required scope: `conversations:write`.
Parameters
Parameters Name Type Required Description ACpath · string yes COpath · string (CO… SID) yes
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors .
Ask the platform to re-evaluate a refused survey POST /v1/accounts/{AC}/conversations/{CO}/csat-surveys/re-evaluate
postV1AccountsByAcConversationsByCoCsatSurveysReEvaluateIdempotency-Key required 200
Only a CANCELED decision can be re-evaluated; the maintenance worker re-runs eligibility and either dispatches the survey or records the new refusal reason.
Required scope: `conversations:write`.
Parameters
Parameters Name Type Required Description ACpath · string yes COpath · string (CO… SID) yes
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors .
Link a dispatched survey to its message POST /v1/accounts/{AC}/csat-surveys/{SV}/dispatched
postV1AccountsByAcCsatSurveysBySvDispatchedIdempotency-Key required 200
Required scope: `inboxes:write`.
Parameters
Parameters Name Type Required Description ACpath · string yes SVpath · string (SV… SID) yes
Request body (1 fields) Request body Name Type Required Description messageSidstring (SM… SID) yes
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors .
Report customer satisfaction outcomes by inbox and agent GET /v1/accounts/{AC}/csat/analytics
getV1AccountsByAcCsatAnalytics200
Required scope: `analytics:read`.
Parameters
Parameters Name Type Required Description ACpath · string (AC… SID) yes Account SID
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors .
Get customer satisfaction survey settings GET /v1/accounts/{AC}/csat/settings
getV1AccountsByAcCsatSettings200
Required scope: `analytics:read`.
Parameters
Parameters Name Type Required Description ACpath · string (AC… SID) yes Account SID
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors .
Configure customer satisfaction surveys PUT /v1/accounts/{AC}/csat/settings
putV1AccountsByAcCsatSettingsIdempotency-Key required 200
Required scope: `inboxes:write`.
Parameters
Parameters Name Type Required Description ACpath · string (AC… SID) yes Account SID
Request body (8 fields) Request body Name Type Required Description contentSidstring (HX… SID) enabledboolean yes maximumRatinginteger (1–10) yes minimumRatinginteger (0–9) yes requireServiceConsentboolean yes responseWindowDaysinteger (1–90) yes retainDaysinteger (1–3650) yes senderSidstring (WA… SID)
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors .
Read a public customer satisfaction survey GET /v1/csat/{SV}
getV1CsatBySvNo key needed 200
Parameters
Parameters Name Type Required Description tokenquery · string (max 256 chars) yes SVpath · string (SV… SID) yes
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors .
Submit a public customer satisfaction response POST /v1/csat/{SV}/responses
postV1CsatBySvResponsesIdempotency-Key required No key needed 201
Parameters
Parameters Name Type Required Description SVpath · string (SV… SID) yes
Request body (3 fields) Request body Name Type Required Description commentstring (max 2000 chars) ratinginteger (0–10) yes tokenstring (max 256 chars) yes
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors .