curl --request POST \
--url https://{server-url}/dify/changeStatus/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"remoteJid": "5511912345678@s.whatsapp.net",
"status": "closed"
}'
{
"message": "Status do bot Dify alterado para closed com sucesso"
}
curl --request POST \
--url https://{server-url}/dify/changeStatus/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"remoteJid": "5511912345678@s.whatsapp.net",
"status": "closed"
}'
{
"message": "Status do bot Dify alterado para closed com sucesso"
}
Your authorization key header
Nome da instância
Dados para alterar o status do bot Dify
The body is of type object
.
Status do bot Dify alterado com sucesso.
The response is of type object
.