Início
Instances
Settings
Send Message
Chat Controller
Profile Settings
Group Controller
- POSTCreate Group
- POSTUpdate Group Picture
- POSTUpdate Group Subject
- POSTUpdate Group Description
- GETFetch Invite Code
- POSTRevoke Invite Code
- POSTSend Group Invite
- GETFind Group by Invite Code
- GETFind Group by JID
- GETFetch All Groups
- GETFind Group Members
- POSTUpdate Group Members
- POSTUpdate Group Setting
- POSTToggle Ephemeral
- DELLeave Group
Typebot
OpenAI
Evolution Bot
Dify
Flowise
Chatwoot
Websocket
RabbitMQ
Dify
Update Dify Bot
PUT
/
dify
/
update
/
:difyId
/
{instance}
curl --request PUT \
--url https://{server-url}/dify/update/:difyId/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"enabled": true,
"botType": "chatBot",
"apiUrl": "<string>",
"apiKey": "<string>",
"triggerType": "all",
"triggerOperator": "contains",
"triggerValue": "<string>",
"expire": 123,
"keywordFinish": "<string>",
"delayMessage": 123,
"unknownMessage": "<string>",
"listeningFromMe": true,
"stopBotFromMe": true,
"keepOpen": true,
"debounceTime": 123,
"ignoreJids": [
"<string>"
]
}'
{
"message": "Bot instance created successfully"
}
Authorizations
Your authorization key header
Body
application/json
Configuration for the Dify bot instance
The body is of type object
.
Response
200 - application/json
Bot instance created successfully
The response is of type object
.
curl --request PUT \
--url https://{server-url}/dify/update/:difyId/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"enabled": true,
"botType": "chatBot",
"apiUrl": "<string>",
"apiKey": "<string>",
"triggerType": "all",
"triggerOperator": "contains",
"triggerValue": "<string>",
"expire": 123,
"keywordFinish": "<string>",
"delayMessage": 123,
"unknownMessage": "<string>",
"listeningFromMe": true,
"stopBotFromMe": true,
"keepOpen": true,
"debounceTime": 123,
"ignoreJids": [
"<string>"
]
}'
{
"message": "Bot instance created successfully"
}