---
title: "Obter um Salesbot pelo ID"
method: GET
path: "/api/v4/bots/{id}"
---

# Obter um Salesbot pelo ID

`GET /api/v4/bots/{id}`

## Request

- Base URL: `https://subdomain.kommo.com`
- URL: `https://subdomain.kommo.com/api/v4/bots/{id}`
- Auth: OAuth 2

Este método permite obter um Salesbot pelo seu ID.

## Path parameters

- `id` integer, required

## Query parameters

- `with` string

## Response `200`

Requisição bem-sucedida

- object
  - `id` integer
  - `name` string
  - `type_functionality` string
  - `is_visual_editor` boolean
  - `settings` object
    - `active` boolean
  - `_links` object
    - `self` object
      - `href` string

## Other responses

- `204`: Salesbot com o ID especificado inexistente
- `400`: Dados incorretos foram transmitidos. Detalhes disponíveis no corpo da resposta.
- `401`: Usuário não autorizado

---

[API](https://skmtc.dev/kommo/apis/referencias-de-api-da-kommo.md) - [All operations](https://skmtc.dev/kommo/apis/referencias-de-api-da-kommo/llms.txt) - [OpenAPI document](https://skmtc.dev/kommo/apis/referencias-de-api-da-kommo/revisions/55101699dddb?raw)
