POST

https://{server-url}

/
settings
/
set
/
{instance}
curl --request POST \
  --url https://{server-url}/settings/set/{instance} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "reject_call": true,
  "msg_call": "<string>",
  "groups_ignore": true,
  "always_online": true,
  "read_messages": true,
  "read_status": true,
  "sync_full_history": true
}'
{
  "settings": {
    "instanceName": "teste-docs",
    "settings": {
      "reject_call": true,
      "groups_ignore": true,
      "always_online": true,
      "read_messages": true,
      "read_status": true,
      "sync_full_history": false
    }
  }
}

Authorizations

apikey
string
headerrequired

Your authorization key header

Path Parameters

instance
string
required

ID of the instance to connect

Body

application/json
reject_call
boolean
required

Reject calls automatically

msg_call
string

Message to be sent when a call is rejected automatically

groups_ignore
boolean
required

Ignore group messages

always_online
boolean
required

Always show WhatsApp online

read_messages
boolean
required

Send read receipts

read_status
boolean
required

See message status

sync_full_history
boolean
required

Syncronize full WhatsApp history with EvolutionAPI

Response

201 - application/json
settings
object