---
title: "POST /api/v4/bots/{id}/stop"
method: POST
path: "/api/v4/bots/{id}/stop"
---

# POST /api/v4/bots/{id}/stop

`POST /api/v4/bots/{id}/stop`

## Path parameters

- `id` integer, required

## Request body

- object
  - `entity_id` integer, required — ID of the entity for which the Salesbot to be stopped
  - `entity_type` 'leads', required — Type of the entity. Might be `leads`

## Response `202`

Task to stop a bot has been successfully created

## Other responses

- `400` — Incorrect data was transmitted. Details are available in the response body
- `401` — User is unauthorized
- `403` — No enough rights to call this method on the specified entity

---

[API](https://skmtc.net/kommo/apis/kommo-api-references.md) · [All operations](https://skmtc.net/kommo/apis/kommo-api-references/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kommo/kommo-api-references/revisions/f17af4d23c7c/schema)
