> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openwhispr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Add dictionary words

> Add up to 200 words in one call. Words are deduplicated case-insensitively, and any that already exist are returned as-is rather than duplicated. Requires dictionary:write on a personal key (owk_live_). Returns 403 forbidden for managed users whose organization has turned off cloud backup.



## OpenAPI

````yaml /openapi.json post /dictionary/create
openapi: 3.1.0
info:
  title: OpenWhispr API
  version: 1.0.0
  description: >-
    Manage notes, folders, transcriptions, dictionary words, snippets, and usage
    programmatically, and transcribe audio files (beta).
servers:
  - url: https://api.openwhispr.com/api/v1
    description: Production
security:
  - bearerAuth: []
paths:
  /dictionary/create:
    post:
      tags:
        - Dictionary
      summary: Add dictionary words
      description: >-
        Add up to 200 words in one call. Words are deduplicated
        case-insensitively, and any that already exist are returned as-is rather
        than duplicated. Requires dictionary:write on a personal key
        (owk_live_). Returns 403 forbidden for managed users whose organization
        has turned off cloud backup.
      operationId: createDictionaryWords
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DictionaryCreateRequest'
      responses:
        '201':
          description: >-
            The entries for every word sent, including ones that already
            existed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/DictionaryEntry'
        '400':
          description: >-
            Validation error — empty list, more than 200 words, a word outside
            1-100 characters, or one containing <, > or a line break.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: >-
            Missing dictionary:write, a workspace key, or cloud backup turned
            off by your organization.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    DictionaryCreateRequest:
      type: object
      required:
        - words
      properties:
        words:
          type: array
          minItems: 1
          maxItems: 200
          items:
            type: string
            minLength: 1
            maxLength: 100
          description: >-
            Words to add. Each is 1-100 characters and may not contain <, > or
            line breaks. Deduplicated case-insensitively; words already in the
            dictionary are returned rather than duplicated.
    DictionaryEntry:
      type: object
      properties:
        id:
          type: string
        word:
          type: string
        source:
          type: string
          enum:
            - manual
            - learned
          description: >-
            `manual` for words you added; `learned` for words added
            automatically by auto-learn from corrections.
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key starting with owk_live_ (personal) or ow_wks_live_ (workspace —
        see space_id on the Notes/Folders endpoints below)

````