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

# Create a tag

> Creates a new tag (folder). The response echoes the upstream create envelope, which includes the new tag id — pass it to `POST /files/update-tags` to assign it. **Pro license required.** A Basic key is rejected with `400` and `you are not a magic meal kits PRO user`.



## OpenAPI

````yaml /api-reference/plaud/openapi.json post /plaud/tags
openapi: 3.1.0
info:
  title: Magic Meal Kits — Plaud API
  version: 1.0.0
  description: >-
    Read your Plaud voice-recorder library — recordings, transcripts, AI
    summaries, note tabs, devices, and search — through your Magic Meal Kits
    server. Backs the **Plaud (Magic Meal Kits)** Make.com app.


    Your Plaud account credentials live server-side (Secret Manager) on your
    deployment; callers only send the MMK API key. Every endpoint requires a
    **Pro** license — a Basic key is rejected with `400` and `you are not a
    magic meal kits PRO user`.
  license:
    name: Proprietary
    identifier: LicenseRef-Proprietary
servers:
  - url: https://{deployment}/api/v1
    description: Your Magic Meal Kits deployment
    variables:
      deployment:
        default: magic-meal-kits-xxxxx.run.app
        description: Your Cloud Run host (without protocol)
security:
  - ApiKeyAuth: []
tags:
  - name: User
    description: Account profile and membership.
  - name: Files
    description: List, inspect, and bundle recordings.
  - name: Content
    description: Transcripts, summaries, note tabs, and audio.
  - name: Search
    description: Full-text search across transcripts.
  - name: Devices
    description: Bound Plaud hardware.
  - name: Webhooks
    description: Polling source for new-recording triggers.
  - name: Folders
    description: 'Tags (used as folders): list, create, assign/clear, and one-call organize.'
  - name: AI
    description: >-
      Auto transcribe + summarize, task status, transcription quota, and summary
      models.
  - name: System
    description: Diagnostics, membership, config, and background-task status.
paths:
  /plaud/tags:
    post:
      tags:
        - Folders
      summary: Create a tag
      description: >-
        Creates a new tag (folder). The response echoes the upstream create
        envelope, which includes the new tag id — pass it to `POST
        /files/update-tags` to assign it. **Pro license required.** A Basic key
        is rejected with `400` and `you are not a magic meal kits PRO user`.
      operationId: createPlaudTag
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTagRequest'
            example:
              name: Interviews
              color: '#46cf6c'
              icon: e627
      responses:
        '200':
          description: Created tag
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateTagResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/PlaudAuthError'
        '502':
          $ref: '#/components/responses/UpstreamError'
components:
  schemas:
    CreateTagRequest:
      type: object
      required:
        - name
      properties:
        name:
          type: string
        color:
          type: string
          description: Optional `#rrggbb`.
        icon:
          type: string
          description: Optional 4-char hex glyph code (e.g. `e627`).
    CreateTagResponse:
      type: object
      description: >-
        Upstream create envelope. `data` carries the new tag (including its id)
        but is loosely typed.
      properties:
        status:
          type: integer
        msg:
          type: string
        request_id:
          type: string
        data:
          type: object
          additionalProperties: true
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
  responses:
    BadRequest:
      description: >-
        Invalid request (e.g. missing/blank required field), or the Pro-license
        gate: a Basic key is rejected with `400` and `you are not a magic meal
        kits PRO user`.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    PlaudAuthError:
      description: >-
        Plaud credentials rejected (revoked/expired) — reconnect your Plaud
        account.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    UpstreamError:
      description: >-
        Plaud upstream returned an error (surfaced as `502` with
        `upstream_status`/`upstream_msg`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: >-
        Your deployment's API key (MMK_API_KEY). Your Plaud account credentials
        are stored server-side — you do not send them.

````