Create Webchat Button
POST /webchat/buttons
Add a quick-action button.
value is read according to action: a URL for link, the question text
for question, a calendar slug for calendar.
Authorizations
Parameters
Header Parameters
Request Body required
A quick-action button in the widget.
value means something different per action: a URL for link, the
question text for question, a calendar slug for calendar. Sending the
wrong kind is accepted here and fails at the widget, so it is spelled out
rather than left to be discovered.
object
Owning chat bot id (UUID).
URL paths where the button appears.
URL for link, question text for question, slug for calendar.
Responses
201
Successful Response
object
An open envelope for one webchat object.
Open because the widget’s config grows a field per product decision and a pinned schema would DROP it. Same choice the desk surface made.
object
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error