---
title: "Create new kapacitor backend"
method: POST
path: "/sources/{id}/kapacitors"
tags: ["sources", "kapacitors"]
---

# Create new kapacitor backend

`POST /sources/{id}/kapacitors`

## Path parameters

- `id` string, required

## Request body

- Kapacitor
  - `id` string — Unique identifier representing a kapacitor instance.
  - `name` string, required — User facing name of kapacitor instance.
  - `username` string — Username for authentication to kapacitor.
  - `password` string — Password is in cleartext.
  - `url` string, url, required — URL for the kapacitor backend (e.g. http://localhost:9092)
  - `insecureSkipVerify` boolean — True means any certificate presented by the kapacitor is accepted. Typically used for self-signed certs. Probably should only be used for testing.
  - `active` boolean — Indicates whether the kapacitor is the current kapacitor being used for a source
  - `links` object
    - `self` string, url — Self link mapping to this resource
    - `proxy` string, url — URL location of proxy endpoint for this kapacitor
    - `rules` string, url — URL location of rules endpoint for this kapacitor

## Response `201`

Kapacitor source successfully created

- Kapacitor
  - `id` string — Unique identifier representing a kapacitor instance.
  - `name` string, required — User facing name of kapacitor instance.
  - `username` string — Username for authentication to kapacitor.
  - `password` string — Password is in cleartext.
  - `url` string, url, required — URL for the kapacitor backend (e.g. http://localhost:9092)
  - `insecureSkipVerify` boolean — True means any certificate presented by the kapacitor is accepted. Typically used for self-signed certs. Probably should only be used for testing.
  - `active` boolean — Indicates whether the kapacitor is the current kapacitor being used for a source
  - `links` object
    - `self` string, url — Self link mapping to this resource
    - `proxy` string, url — URL location of proxy endpoint for this kapacitor
    - `rules` string, url — URL location of rules endpoint for this kapacitor

## Other responses

- `default` — A processing or an unexpected error.

---

[API](https://skmtc.net/influxdata/apis/chronograf.md) · [All operations](https://skmtc.net/influxdata/apis/chronograf/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/influxdata/chronograf/versions/ce55d963b4ac/schema)
