Skip to main content
POST
Mute chats

Overview

This method is responsible for muting and unmuting your chats.

Attributes

string
required
Your instance ID. Available in the Z-API panel under Instances.
string
required
Your Z-API instance token.

Required

string
required
Phone number of the chat you want to modify
string
required
Action: mute or unmute

Request Body


Response

200

405

In this case, make sure you are correctly sending the method specification, i.e., check if you sent POST or GET as specified at the beginning of this topic.

415

If you receive a 415 error, make sure to add the “Content-Type” of the object you are sending in the request headers, most commonly “application/json”.