Entity · survey_invitations
Survey Invitation Schema
Fields
Survey Invitation Schema
Schema for satisfaction survey invitations sent to contacts
surveyId
FK to survey
mode
Delivery mode — single-ticket invitation or weekly digest spanning multiple tickets
Values
per_ticketweekly_digestDefault: "per_ticket"
ticketId
FK to ticket (required for mode = per_ticket)
nullable
ticketNumber
max 50 charactersnullable
digestTickets
Tickets included in a weekly digest invitation (mode = weekly_digest)
Default: []nullable
ticketNumber
max 50 characters
title
max 500 charactersnullable
closedAt
nullable
ratedAt
nullable
responseId
nullable
weekOf
ISO-week start (Monday 00:00 UTC) covered by a digest invitation
nullable
partyId
nullable
contactPartyId
nullable
contactId
nullable
contactName
nullable
status
Values
PENDINGSENTDELIVEREDOPENEDCOMPLETEDEXPIREDCANCELLEDsentAt
nullable
openedAt
nullable
respondedAt
nullable
responseId
nullable
remindersSent
≥ 0Default: 0
lastReminderAt
nullable
surveyUrl
max 500 charactersnullable
No fields match the filter.
Standard endpoints
This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:
GET /api/v1/survey_invitations— List, paginated + filterableGET /api/v1/survey_invitations/<id>— Single entityPOST /api/v1/survey_invitations— CreatePATCH /api/v1/survey_invitations/<id>— Partial updateDELETE /api/v1/survey_invitations/<id>— Soft deleteGET /api/v1/survey_invitations/<id>/timeline— Audit + activities