cURL
curl --request PATCH \ --url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/user-data \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "collectUserDetails": "DO_NOT_COLLECT", "collectName": false, "collectPhone": false }'
200
Success
{ "success": true, "message": "Updated user-data settings of the chatbot successfully", "data": {}}
Update user-data settings of the chatbot
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Id of the chatbot
Request body to update user-data settings of the chatbot
Request Body
OK
Success Response
Was this page helpful?