Skip to content

Clinical Note

Rich text HTML is supported with a safe, limited set of elements and inline styles. Any unsupported tags, attributes, or CSS are removed automatically.

Supported elements

p, br, strong, em, i, u, blockquote, ul, ol, li, div, span, table, thead, tbody, tfoot, tr, td, th, colgroup, col, caption, img (base64 images only)

Images

Images must be embedded as base64 data URIs. Only PNG, JPEG/JPG, GIF, and WebP image types are supported. External image URLs and other formats are not permitted.

Supported inline CSS

Common formatting and table layout styles are allowed, including text styling, alignment, spacing, borders, and table sizing (color, font-size, text-align, padding, width, height, border, etc.). Unsupported styles are removed automatically.

Content limits

Rich text content must be 150,000 characters or less after processing.

Create Clinical Note

Request

Security
x-api-key and a-api-key
Bodyapplication/json
client_idintegerrequired
practitioner_idintegerrequired
business_idintegerrequired
detailsArray of objectsrequired
account_idinteger
treatment_datestring^\d{4}-\d{2}-\d{2}[Tt]\d{2}:\d{2}:\d{2}$

ISO 8601 local datetime in the tenant's timezone.

Example:"2026-01-01T12:05:30"
tag_idsArray of integers
Example:
[ 1, 2 ]
attachment_client_idsArray of integers
Example:
[ 1, 2 ]
curl -i -X POST \
  https://api.pracsuite.com/v1/clinical_note \
  -H 'Content-Type: application/json' \
  -H 'a-api-key: YOUR_API_KEY_HERE' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '{
    "client_id": 0,
    "practitioner_id": 0,
    "business_id": 0,
    "details": [
      {
        "type": 1,
        "text": "string"
      }
    ],
    "account_id": 0,
    "treatment_date": "2026-01-01T12:05:30",
    "tag_ids": [
      1,
      2
    ],
    "attachment_client_ids": [
      1,
      2
    ]
  }'

Responses

Successful

Bodyapplication/json
clinical_note_idinteger
Response
{ "clinical_note_id": 0 }