---
title: "Add a widget configuration"
method: POST
path: "/app/widgets/{widgetKey}/configurations"
tags: ["Widget configurations"]
---

# Add a widget configuration

`POST /app/widgets/{widgetKey}/configurations`

## Path parameters

- `widgetKey` string, required

## Request body

- object
  - `name` string, required — Name of the configuration
  - `projectId` string, required — Id of the project linked to the configuration
  - `dataProviderId` string, required — Id of the data provider linked to the project id
  - `description` string
  - `configuration` object, required — Key value list with the configuration, specific to the widget

## Response `204`

Widget configuration saved

## Changes

- **2024-07-22** `3063ef5d8a81` — 1 info
  - api operation id `controller.widgetConfigurations.post_configuration` removed and replaced with `debiaiServer.controller.widgetConfigurations.post_configuration`
- **2024-07-19** `30f824d14afd` — 1 info
  - api operation id `debiaiServer.controller.widgetConfigurations.post_configuration` removed and replaced with `controller.widgetConfigurations.post_configuration`

[Change history](https://skmtc.dev/debiai/apis/debiai-backend-api/changes/app/widgets/:widgetKey/configurations/post.md)

---

[API](https://skmtc.dev/debiai/apis/debiai-backend-api.md) · [All operations](https://skmtc.dev/debiai/apis/debiai-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/debiai/debiai-backend-api/revisions/c53e3bf3be9b/schema)
