curl --request POST \
--url https://{server-url}/dify/create/{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"
}
Your authorization key header
Name of the instance
Configuration for the Dify bot instance
The body is of type object
.
Bot instance created successfully
The response is of type object
.
curl --request POST \
--url https://{server-url}/dify/create/{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"
}
curl --request POST \
--url https://{server-url}/dify/create/{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"
}
Your authorization key header
Name of the instance
Configuration for the Dify bot instance
The body is of type object
.
Bot instance created successfully
The response is of type object
.
curl --request POST \
--url https://{server-url}/dify/create/{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"
}