Instance
Update Settings
Updates the instance behavior settings
POST
Update Settings
Auth:
TokenAccount or TokenInstance • Rate-limit: Global (100/min) • Idempotent: yes
Description
Accepts a partial body, fields not sent are kept. At least one field must be informed. IfkeepOnlineStatus is sent and the instance is connected, presence is applied in real time (sends PresenceAvailable or PresenceUnavailable).
Examples
Change only autoReadMessages
Partial body with onlyautoReadMessages: true, the other 6 settings are untouched, the server only updates the field sent and returns the full object in the response.
Anti-noise combo
Applies four settings at once to silence the number: ignores group messages, ignores stories, rejects calls, and replies to the caller with thecallRejectMessage. Typical combination for 1-to-1 bots that don’t want to be interrupted.
Success response
The response includes all 7 settings (those not modified come with their current value from the database).200 OK
Path parameters
string
required
Instance name.
Headers
string
required
TokenAccount or TokenInstance.
string
required
application/json.Request body
boolean
Automatically rejects incoming calls.
string
Automatic message when rejecting a call.
boolean
Does not process messages received in groups.
boolean
Keeps presence as
available. Applied immediately if the instance is connected.boolean
Marks received messages as read.
boolean
default:"true"
Disables history synchronization on the first
connect. Default true.boolean
Ignores “status” type messages (stories) from WhatsApp.
Notes
Applying
ignoreGroupMessages=true does not delete already recorded group messages; it just stops recording new ones.