Skip to main content
POST
/
rag
/
changeStatus
/
{instance}
Change RAG bot session status
curl --request POST \
  --url https://api.zapthinker.com/rag/changeStatus/{instance} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '
{
  "remoteJid": "5511912345678@s.whatsapp.net",
  "status": "closed"
}
'
{}

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

remoteJid
string
required

JID remoto

Example:

"5511912345678@s.whatsapp.net"

status
enum<string>
required
Available options:
opened,
closed,
paused,
delete
Example:

"closed"

Response

200 - application/json

Status alterado com sucesso

The response is of type object.