---
title: "Create Configs"
method: POST
path: "/api/v1/widget/config"
tags: ["Widget::Configs"]
---

# Create Configs

`POST /api/v1/widget/config`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/v1/widget/config`
- Auth: none required

## Response `200`

Success

- object
  - `website_channel_config` object
  - `allow_messages_after_resolved` string
  - `api_host` string
  - `auth_token` string
  - `avatar_url` string
  - `csat_survey_enabled` string
  - `disable_branding` string
  - `enabled_features` string
  - `enabled_languages` string
  - `locale` string
  - `out_of_office_message` string
  - `portal` string
  - `pre_chat_form_enabled` string
  - `pre_chat_form_options` string
  - `reply_time` string
  - `timezone` string
  - `utc_off_set` string
  - `website_name` string
  - `website_token` string
  - `welcome_tagline` string
  - `welcome_title` string
  - `widget_color` string
  - `working_hours` string
  - `working_hours_enabled` string
  - `contact` object
  - `email` string
  - `id` string
  - `identifier` string
  - `name` string
  - `phone_number` string
  - `pubsub_token` string
  - `global_config` string

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/cloudhumans/apis/cloudchat-api.md) - [All operations](https://skmtc.dev/cloudhumans/apis/cloudchat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cloudhumans/apis/cloudchat-api/revisions/18199bd17cc5?raw)
