Dify Controller

Create a new Dify bot instance

Changed on

Update bot Dify

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

Request

  • Base URL
    https://evolution-example
  • URL
    https://evolution-example/dify/update/:difyId/{instance}
  • Auth
    API key in header apikey

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

Changes