Skip to main content
POST
/
dify
/
changeStatus
/
{instance}
Altera o status do bot Dify
curl --request POST \
  --url https://api.zapthinker.com/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"
}

Documentation Index

Fetch the complete documentation index at: https://docs.zapthinker.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

apikey
string
header
required

Your authorization key header

Path Parameters

instance
string
required

Nome da instância

Body

application/json

Dados para alterar o status do bot Dify

remoteJid
string
required

Número de telefone remoto no formato E.164 (ex: 5511912345678@s.whatsapp.net)

Example:

"5511912345678@s.whatsapp.net"

status
enum<string>
required

Status a ser atribuído ao bot Dify. Os valores válidos são opened, paused e closed.

Available options:
opened,
paused,
closed
Example:

"closed"

Response

200 - application/json

Status do bot Dify alterado com sucesso.

message
string
Example:

"Status do bot Dify alterado para closed com sucesso"