Skip to content

Create CSAT survey

POST/support/csat-surveys

Creates a new CSAT survey configuration. Surveys are dispatched to customers via the specified channel after a ticket is resolved. Surveys default to 'active' status once created.

Request

Request body

Content type application/json (required).

FieldTypeRequiredDescription
namestringYes

Display name for the survey (e.g. "Post-Resolution CSAT").

Max length: 180

channelstringYes

Delivery channel for the survey. Supported values typically include 'email', 'sms', 'widget', or 'in-app'.

Example: "email"

statusstringNo

Whether this survey is currently being dispatched to customers.

One of: "active", "inactive", "draft" · Default: "active"

Example

{
  "name": "Post-Resolution CSAT",
  "channel": "email",
  "status": "active"
}

Responses

302 Redirect to CSAT index after creation

422 Validation error — name and channel are required

Example request

curl -X POST "https://{tenant}.faciotech.net/api/v1/support/csat-surveys" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"name": "Post-Resolution CSAT", "channel": "email", "status": "active"}'
Loading