v46

latestOpenAPI 3.0.3raw.githubusercontent.com2025-05-151340367.2 KB
Dify Controller

Create a new Dify bot instance

Update bot Dify

put/dify/update/:difyId/{instance}

Path parameters

instancestring required

Name of the instance

difyIdstring required

Id bot dify

Request body

enabledboolean required
botType'chatBot' | 'textGenerator' | 'agent' | 'workflow' required
apiUrlstring required
apiKeystring required
triggerType'all' | 'keyword'
triggerOperator'contains' | 'equals' | 'startsWith' | 'endsWith' | 'regex' | 'none'
triggerValuestring
expireinteger
keywordFinishstring
delayMessageinteger
unknownMessagestring
listeningFromMeboolean
stopBotFromMeboolean
keepOpenboolean
debounceTimeinteger
ignoreJidsstring[]

Response

Bot instance created successfully

messagestring

Example response

{
  "message": "Bot instance created successfully"
}