Add custom events to a chatbot
POST/auth/events/:chat_id
Adds one or more custom event definitions to a specific chatbot. Accepts event data as a JSON string within multipart/form-data.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 500
Data saved successfully - Returns the created event objects.
Bad request, expected multipart/form-data / Chat ID is required / Event input data is required
Unauthorized Access
You do not have permission to add events to this chat
Chat not found
Internal Server Error