Create Satisfaction Survey
gorgias_create_satisfaction_surveyCreate a satisfaction survey for a customer ticket, recording their score and comments to measure support quality.
Instructions
POST /api/satisfaction-surveys — Create a new satisfaction survey. Only one survey is allowed per ticket.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | Custom key-value data to associate with the survey (not used by Gorgias) | |
| score | No | Satisfaction score, integer 1-5 (1 = worst, 5 = best). The Gorgias API accepts any integer in the inclusive range. | |
| body_text | No | The comment sent by the customer (max 1000 characters) | |
| ticket_id | Yes | The ID of the ticket the survey is associated with (only one survey per ticket allowed) | |
| customer_id | Yes | The ID of the customer who filled the survey | |
| sent_datetime | No | ISO 8601 datetime when the survey was sent (null means not sent yet) | |
| scored_datetime | No | ISO 8601 datetime when the survey was filled by the customer | |
| created_datetime | No | ISO 8601 datetime when the survey was created | |
| should_send_datetime | No | ISO 8601 datetime when the survey should be sent. Set to null to prevent Gorgias from sending it automatically |