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"
}
'
{}

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.