# Add a help center

```http
POST https://trydimmi.com/api/v1/help-centers
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `settings:write`.

## Body

- `locale` (string): Language code such as en or fr; the workspace's language when left out.
- `name` (string, required): The help center's name, 1 to 80 characters.
- `subdomain` (string): Its address; taken from the name, made unique, when left out.

## Response 201 (Created)

- `data` (object, required)
  - `ask_ai_enabled` (boolean, required): True when readers of this help center can ask the AI questions.
  - `created_at` (string, required): When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
  - `custom_domain` (string | null, required): The help center's own verified domain, such as help.acme.com. Null until one is set up and verified.
  - `id` (string, required): The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
  - `indexing_enabled` (boolean, required): True when search engines are allowed to index this help center.
  - `is_default` (boolean, required): True for the workspace's default help center.
  - `locale` (string, required): The help center's main language as a language code, such as en or fr.
  - `name` (string, required): The help center's name.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `settings` (object, required)
    - `appearance` (string): The color scheme of the help center's pages: auto, light or dark. Left out when never set.
    - `changelog` (boolean): Whether the help center shows a changelog. Left out when never set, which means yes.
    - `changelog_authors` (boolean): Whether changelog entries show who wrote them. Left out when never set, which means yes.
    - `changelog_email` (string): What subscribers are mailed for a new changelog entry: full for the whole entry or summary for a summary. Left out when never set, which means full.
    - `changelog_reactions` (boolean): Whether readers can react to changelog entries. Left out when never set, which means yes.
    - `changelog_subscriptions` (boolean): Whether readers can subscribe to changelog emails. Left out when never set, which means yes.
    - `changelog_title` (string): The heading of the changelog pages. Left out when never set, and the pages then say Changelog.
    - `changelog_undo_minutes` (integer): Minutes to wait after publishing a changelog entry before mailing it: 0, 5, 15 or 60. Left out when never set, which means no wait.
    - `contact_url` (string): The https address the help center's contact link opens. Left out when not set.
    - `email_sign_in` (boolean): Whether readers may sign in with a code mailed to them. Left out when never set, which means yes.
    - `feedback_approval` (boolean): True when feature requests posted by customers wait for the team's approval before showing. Left out when false.
    - `feedback_board` (boolean): True when customers can see and post feature requests on the help center. Left out when false.
    - `footer_text` (string): The text shown in the help center's footer. Left out when not set.
    - `home_subtitle` (string): The smaller line under the home page's title. Left out when not set.
    - `home_title` (string): The big title on the help center's home page. Left out when not set.
    - `login_url` (string): The https address in the team's product where readers sign in, so they can read articles kept to an audience. Left out when not set.
    - `messenger` (boolean): Whether the help center's pages show a messenger. Left out when never set, which means yes.
    - `messenger_id` (string): Id of the messenger the pages show, starting with wgt_. Left out when not set, and the workspace's first messenger is used.
    - `primary_color` (string): The help center's main color as a hex code, such as #10b981. Left out when not set.
  - `status` (string, required): Whether the help center is live: active or disabled.
  - `subdomain` (string, required): The part of the address picked for this help center: 3 to 40 lowercase letters, digits and dashes, such as acme.
  - `updated_at` (string, required): When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
  - `url` (string, required): The full public address readers open, on the verified custom domain once there is one.

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request POST \
  --url 'https://trydimmi.com/api/v1/help-centers' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "locale": "<string>",
  "name": "<string>",
  "subdomain": "<string>"
}'
```

## Example response

```json
{
  "data": {
    "ask_ai_enabled": true,
    "created_at": "2026-11-01T09:30:00Z",
    "custom_domain": "<string>",
    "id": "<string>",
    "indexing_enabled": true,
    "is_default": true,
    "locale": "<string>",
    "name": "<string>",
    "object": "<string>",
    "settings": {
      "appearance": "<string>",
      "changelog": true,
      "changelog_authors": true,
      "changelog_email": "<string>",
      "changelog_reactions": true,
      "changelog_subscriptions": true,
      "changelog_title": "<string>",
      "changelog_undo_minutes": 123,
      "contact_url": "<string>",
      "email_sign_in": true,
      "feedback_approval": true,
      "feedback_board": true,
      "footer_text": "<string>",
      "home_subtitle": "<string>",
      "home_title": "<string>",
      "login_url": "<string>",
      "messenger": true,
      "messenger_id": "<string>",
      "primary_color": "<string>"
    },
    "status": "<string>",
    "subdomain": "<string>",
    "updated_at": "2026-11-01T09:30:00Z",
    "url": "<string>"
  }
}
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
