Chatbot Settings

Update Chatbot Settings - User Data

Update user-data settings of the chatbot

patch/v0/chatbots/{chatbotId}/settings/user-data

Request

  • Base URL: https://sitegpt.ai/api
  • URL: https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/user-data
  • Auth: HTTP bearer

Path parameters

chatbotIdstring required

Id of the chatbot

Request body

collectUserDetails'MANDATORY' | 'OPTIONAL' | 'DO_NOT_COLLECT'

Options whether to collect user details or not

collectNameboolean

Indicates whether to collect user name or not

collectPhoneboolean

Indicates whether to collect user phone number or not

Response

OK

successboolean

Indicates whether this is success response or error response

messagestring

Overall message regarding the operation performed

dataobject nullable

Data returned from the server

Changes

No recorded changes to this operation across all 1 revision of this API.