Chatbot Webhook
Project Objective
The Chatbot Webhook project is an application designed to manage and process satisfaction surveys. The application allows the creation, updating, and retrieval of surveys, as well as integration with external services to obtain and send survey data.
Features
- Survey Creation: Allows the creation of new satisfaction surveys.
- Survey Updating: Allows the updating of existing surveys.
- Survey Retrieval: Allows the retrieval of data from existing surveys.
- Integration with External Services: Integrates with external services to obtain and send survey data.
Accessible Routes
Base URL: https://chatbot-api.solucx.com.br/
GET /survey
Retrieves a survey.
Query Parameters
transactionIdrequirednumber
attemptIdrequirednumber
journeyrequiredstring
sourcerequiredstring
email, sms, ura, whatsapp, push, facebook, tablet, widget, qrcode, employee, chatbot, workplace, portals. Request Example
Response Example
POST /survey
Creates a new survey.
Request Body
Request Example
Response Example
PUT /survey
Updates an existing survey.
Request Body
Request Example
Response Example
Data Transfer Objects (DTOs)
SurveyParametersDto
Used to retrieve a survey.Transaction ID. Attempt ID. Survey journey. Survey source. Possible values:
transactionIdrequirednumber
attemptIdrequirednumber
journeyrequiredstring
sourcerequiredstring
email, sms, ura, whatsapp, push, facebook, tablet, widget, qrcode, employee, chatbot, workplace, portals. SurveyDto
Used to create or update a survey.Transaction ID. Attempt ID. Survey journey. List of survey classes. Survey score. Survey comment. Survey source. Possible values:Respondent's name. Respondent's phone. Store ID. Employee ID.
transactionIdrequirednumber
attemptIdrequirednumber
journeyrequiredstring
classesrequiredClass[]
scorerequirednumber
commentstring
srcRatingSource
- 1: Email
- 2: SMS
- 4: URA
- 7: WhatsApp
namestring
phonestring
storeIdstring
employeeIdstring
Class
Used within the SurveyDto.Class ID. Class label. Class score. Class type.
classIdrequirednumber
labelrequiredstring
scorenumber
typerequiredClassItemType
RatingSourceName
The RatingSourceName enum provides descriptive names for the sources:
- sms
- ura
- push
- tablet
- widget
- qrcode
- employee
- chatbot
- workplace
- portals