Skip to main content

CollectorCreate

id object
anyOf
string
nameName (string)required
responseLimit object
anyOf
integer
completedResponsesCount object
anyOf
integer
surveyIdSurveyid (integer)required
typeCollectorType (string)required

Collector type enum.

Possible values: [SMS, EMAIL, WEB_LINK, WHATSAPP, WIDGET]

openDate object
anyOf
string<date-time>
closeDate object
anyOf
string<date-time>
fromEmail object
anyOf
emailEmail (string)required
name object
anyOf
string
senderId object
anyOf
string
messageText object
anyOf
string
closedMessage object
anyOf
string
showUnsubscribe object
anyOf
boolean
status object
anyOf
CollectorStatus (string)

Collector status enum.

Possible values: [OPEN, CLOSED, DRAFT, DELETED, INACTIVE, SCHEDULED, RESPONSE_LIMIT_EXCEEDED]

createdAt object
anyOf
string<date-time>
updatedAt object
anyOf
string<date-time>
dynamicParameters object
anyOf
object
isActiveIsactive (boolean)
Default value: true
isDeleted object
anyOf
boolean
buttonText object
anyOf
string
provider object
anyOf
WhatsAppProvider (string)
Constant value: glassix
templateId object
anyOf
string
phoneNumber object
anyOf
string
parameters object
anyOf
object
limitByIpLimitbyip (boolean)
Default value: true
limitByCookieLimitbycookie (boolean)
Default value: true
groupIds object
anyOf
  • Array [
  • integer
  • ]
  • customId object
    anyOf
    string
    contacts object
    anyOf
  • Array [
  • contact object
    anyOf
    id object
    anyOf
    integer
    firstName object
    anyOf
    string
    lastName object
    anyOf
    string
    email object
    anyOf
    string
    phone object
    anyOf
    string
    externalId object
    anyOf
    string
    departmentId object
    anyOf
    string<uuid>
    dynamicParameters object
    anyOf
    object
  • ]
  • CollectorCreate
    {
    "id": "string",
    "name": "string",
    "responseLimit": 0,
    "completedResponsesCount": 0,
    "surveyId": 0,
    "type": "SMS",
    "openDate": "2024-07-29T15:51:28.071Z",
    "closeDate": "2024-07-29T15:51:28.071Z",
    "fromEmail": {
    "email": "string",
    "name": "string"
    },
    "senderId": "string",
    "messageText": "string",
    "closedMessage": "string",
    "showUnsubscribe": true,
    "status": "OPEN",
    "createdAt": "2024-07-29T15:51:28.071Z",
    "updatedAt": "2024-07-29T15:51:28.071Z",
    "dynamicParameters": {},
    "isActive": true,
    "isDeleted": true,
    "buttonText": "string",
    "provider": "glassix",
    "templateId": "string",
    "phoneNumber": "string",
    "parameters": {},
    "limitByIp": true,
    "limitByCookie": true,
    "groupIds": [
    0
    ],
    "customId": "string",
    "contacts": [
    {
    "contact": {
    "id": 0,
    "firstName": "string",
    "lastName": "string",
    "email": "string",
    "phone": "string",
    "externalId": "string",
    "departmentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    },
    "dynamicParameters": {}
    }
    ]
    }
    Was this page helpful?