Skip to main content
POST
/
n8n
/
changeStatus
/
{instance}
Altera o status do bot n8n
curl --request POST \
  --url https://api.zapthinker.com/n8n/changeStatus/{instance} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '
{
  "remoteJid": "5511912345678@s.whatsapp.net",
  "status": "closed"
}
'
{
  "message": "Status do bot n8n 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 n8n

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 n8n. Os valores válidos são opened, paused e closed.

Available options:
opened,
paused,
closed
Example:

"closed"

Response

200 - application/json

Status do bot n8n alterado com sucesso.

message
string
Example:

"Status do bot n8n alterado para closed com sucesso"