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).
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Display name for the survey (e.g. "Post-Resolution CSAT"). Max length: 180 |
channel | string | Yes | Delivery channel for the survey. Supported values typically include 'email', 'sms', 'widget', or 'in-app'. Example: |
status | string | No | Whether this survey is currently being dispatched to customers. One of: |
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"}'