---
updatedAt: 2025-11-13T21:50:57.000Z
agentTools:
  projectIndex: https://coldstream.readme.io/llms.txt
---

# Post case note

Default method for creating case notes via case setup

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Case API",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://case.coldstream.diabatix.com"
    }
  ],
  "paths": {
    "/cases/{caseId}/notes": {
      "post": {
        "tags": [
          "CaseNote"
        ],
        "summary": "Post case note",
        "description": "Default method for creating case notes via case setup",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCaseNoteModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCaseNoteModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCaseNoteModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CaseNoteDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CaseNoteDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CaseNoteDto"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "CaseNoteDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/CaseNoteType"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "lastAccessed": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CaseNoteType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "string",
        "description": "Information = 0\n Warning = 1\n Error = 2",
        "minimum": 0,
        "maximum": 2
      },
      "CreateCaseNoteModel": {
        "required": [
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/CaseNoteType"
          },
          "message": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "JWT Authorization header using the Bearer scheme. \r\n\r\n Enter 'Bearer' [space] and then your token in the text input below.\r\n\r\nExample: \"Bearer 12345abcdef\"",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  }
}
```