---
title: "Adding/Updating flow Notes"
method: PATCH
path: "/flows/{flow_id}/notes"
tags: ["flows"]
---

# Adding/Updating flow Notes

`PATCH /flows/{flow_id}/notes`

You need `flow.edit` permission to access this resource

## Path parameters

- `flow_id` string, required

## Request body

- object
  - `data` object, required
    - `id` string, required — Flow notes identifier. It has to match the identifier specified in the path.
    - `type` 'task-notes', required — Allowed value `task-notes`.
    - `attributes` object, required
      - `note` string — Flow note html content

## Response `200`

OK

- object
  - `data` object, required
    - `data` object, required
      - `id` string, required — Flow notes identifier. It has to match the identifier specified in the path.
      - `type` 'task-notes', required — Allowed value `task-notes`.
      - `attributes` object, required
        - `note` string — Flow note html content
        - `flow_id` string — Flow identifier.
      - `relationships` object, required
        - `flow` object, required
          - `data` object, required
            - `id` string, required — Flow identifier
            - `type` 'flow', required — Allowed value is `flow`
  - `meta` object, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2.md) · [All operations](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/elastic-io-rest-api-documentation-v2/revisions/411f9f98c01e/schema)
