Configure instance-level settings and behaviors for your WhatsApp instance.
curl --request POST \
--url https://api.example.com/settings/set/my-instance \
--header 'apikey: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"rejectCall": true,
"msgCall": "Sorry, I cannot take calls at the moment. Please send a message.",
"groupsIgnore": false,
"alwaysOnline": true,
"readMessages": true,
"readStatus": false,
"syncFullHistory": false
}'
{
"settings": {
"instanceId": "my-instance",
"rejectCall": true,
"msgCall": "Sorry, I cannot take calls at the moment. Please send a message.",
"groupsIgnore": false,
"alwaysOnline": true,
"readMessages": true,
"readStatus": false,
"syncFullHistory": false
}
}
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/EvolutionAPI/evolution-api/llms.txt
Use this file to discover all available pages before exploring further.
apikey header.
rejectCall is true).Show properties
curl --request POST \
--url https://api.example.com/settings/set/my-instance \
--header 'apikey: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"rejectCall": true,
"msgCall": "Sorry, I cannot take calls at the moment. Please send a message.",
"groupsIgnore": false,
"alwaysOnline": true,
"readMessages": true,
"readStatus": false,
"syncFullHistory": false
}'
{
"settings": {
"instanceId": "my-instance",
"rejectCall": true,
"msgCall": "Sorry, I cannot take calls at the moment. Please send a message.",
"groupsIgnore": false,
"alwaysOnline": true,
"readMessages": true,
"readStatus": false,
"syncFullHistory": false
}
}
rejectCall, alwaysOnline, and readMessages for the best user experience.syncFullHistory can significantly slow down instance connection, especially for accounts with large message histories.GET /settings/find/:instanceName
curl --request GET \
--url https://api.example.com/settings/find/my-instance \
--header 'apikey: YOUR_API_KEY'
curl --request POST \
--url https://api.example.com/settings/set/my-instance \
--header 'apikey: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"rejectCall": true,
"msgCall": "Sorry, I cannot take calls at the moment. Please send a message.",
"groupsIgnore": false,
"alwaysOnline": true,
"readMessages": true,
"readStatus": false,
"syncFullHistory": false
}'
{
"settings": {
"instanceId": "my-instance",
"rejectCall": true,
"msgCall": "Sorry, I cannot take calls at the moment. Please send a message.",
"groupsIgnore": false,
"alwaysOnline": true,
"readMessages": true,
"readStatus": false,
"syncFullHistory": false
}
}