curl --request PUT \
--url https://wsapi.chat/account/instances/{id}/settings \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"useCustomDefaults": true,
"pullMode": true,
"webhookUrl": "<string>",
"eventSigningSecret": "<string>",
"historySync": true,
"eventFilters": [
"<string>"
]
}
'