v46

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

Create a new Dify bot instance

Creates a new Dify bot with the provided configuration

post/dify/create/{instance}

Path parameters

instancestring required

Name of the instance

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