---
title: "Create a new evoai bot instance"
method: POST
path: "/evoai/create/{instance}"
tags: ["EvoAI Controller"]
---

# Create a new evoai bot instance

`POST /evoai/create/{instance}`

Creates a new EvoAI bot with the provided configuration

## Path parameters

- `instance` string, required

## Request body

- object
  - `enabled` boolean, required
  - `agentUrl` string, required
  - `apiKey` string
  - `triggerType` 'all' | 'keyword'
  - `triggerOperator` 'contains' | 'equals' | 'startsWith' | 'endsWith' | 'regex' | 'none'
  - `triggerValue` string
  - `expire` integer
  - `keywordFinish` string
  - `delayMessage` integer
  - `unknownMessage` string
  - `listeningFromMe` boolean
  - `stopBotFromMe` boolean
  - `keepOpen` boolean
  - `debounceTime` integer
  - `ignoreJids` string[]

## Response `200`

EvoAI bot instance created successfully

- object
  - `message` string

## Other responses

- `400` — Bad Request - Invalid or missing parameters
- `404` — Not Found - Instance could not be created
- `500` — Internal Server Error

---

[API](https://skmtc.net/evolution-foundation/apis/evolution-api-2.md) · [All operations](https://skmtc.net/evolution-foundation/apis/evolution-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/evolution-foundation/evolution-api-2/versions/153363ee7f38/schema)
