Skip to main content
POST

Overview

You can customize various settings for your WhatsApp instance, including call handling, message reading behavior, and history synchronization.
These settings apply to the entire instance and affect how your WhatsApp bot behaves.

Authentication

This endpoint requires authentication via the apikey header.
string
required
Your Evolution API key for authentication.

Path Parameters

string
required
The name of your WhatsApp instance.

Request Body

boolean
default:"false"
Automatically reject incoming calls.
string
Message to send when a call is rejected (only used if rejectCall is true).
boolean
default:"false"
Ignore messages from groups (don’t trigger webhooks or chatbot responses).
boolean
default:"false"
Keep the instance status as “online” at all times.
boolean
default:"false"
Automatically mark all incoming messages as read.
boolean
default:"false"
Automatically read status updates from contacts.
boolean
default:"false"
Synchronize full message history when connecting (may take longer to connect).
string
Token for VOIP integration (advanced feature).

Response

object
The updated settings object.

Setting Details

Call Rejection

When enabled, all incoming voice and video calls are automatically rejected. Useful for chatbot instances that should only handle text messages.

Message Handling

Automatically marks all incoming messages as read. The sender will see blue checkmarks immediately.

Presence and Status

Keeps your instance showing as “online” continuously. Useful for bot accounts to appear always available.

History Synchronization

When enabled, the instance will download and sync complete message history on first connection. This may significantly increase connection time but ensures all historical data is available.

Usage Notes

For chatbot instances, consider enabling rejectCall, alwaysOnline, and readMessages for the best user experience.
Enabling syncFullHistory can significantly slow down instance connection, especially for accounts with large message histories.
You can update settings at any time without needing to restart the instance. Changes take effect immediately.

Get Current Settings

To retrieve current settings:
This returns the current configuration for your instance.