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

# Add a comment

> Adds a review note to the transaction. Notes are attributed to the dashboard user who wrote them, so an API key cannot post one — it has no personal identity to attribute. Requires transaction-edit permission, while reading the same path requires only transaction-view.



## OpenAPI

````yaml /openapi/transaction-monitoring.json post /api/v1/transactions/{transaction_id}/comments/
openapi: 3.0.3
info:
  title: iDenfy Transaction Monitoring API
  version: v1
  description: >-
    Submit transactions and events for AML monitoring, and read back the alerts,
    cases and reports they produce.
servers:
  - url: https://ivs-tx-monitoring.idenfy.com
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Ingest
    description: Submit transactions and events for monitoring.
  - name: Transactions
    description: Read back submitted transactions and their rule hits.
  - name: Rules
    description: Detection rules evaluated against every submission.
  - name: Alerts
    description: Alerts opened when a rule matches.
  - name: Investigations
    description: Cases opened from one or more alerts.
  - name: SARs
    description: Suspicious activity reports and their attachments.
  - name: Sanctions screening
    description: Sanctions and PEP screening of transaction parties.
  - name: AML monitoring
    description: Ongoing AML monitoring of screened parties.
  - name: Party suspensions
    description: ''
  - name: Webhooks
    description: Outbound event delivery to your endpoints.
  - name: Custom fields
    description: Your own transaction attributes, declared so rules can match them.
  - name: Reference lists
    description: Named value lists rules can reference.
  - name: Notification rules
    description: Slack and email notifications for alerts.
  - name: Reports
    description: Generated compliance reports.
paths:
  /api/v1/transactions/{transaction_id}/comments/:
    post:
      tags:
        - Transactions
      summary: Add a comment
      description: >-
        Adds a review note to the transaction. Notes are attributed to the
        dashboard user who wrote them, so an API key cannot post one — it has no
        personal identity to attribute. Requires transaction-edit permission,
        while reading the same path requires only transaction-view.
      operationId: transactions_comments_create
      parameters:
        - in: path
          name: transaction_id
          schema:
            type: string
            format: uuid
            description: Primary key
          required: true
          description: Identifies the transaction.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransactionCommentRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/TransactionCommentRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/TransactionCommentRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransactionCommentResponse'
          description: ''
      security:
        - ApiKeyAuth: []
components:
  schemas:
    TransactionCommentRequest:
      type: object
      properties:
        content:
          type: string
          description: The note to record against the transaction
      required:
        - content
    TransactionCommentResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
          description: Primary key
        content:
          type: string
          readOnly: true
          description: Comment body as written by the analyst
        authorEmail:
          type: string
          readOnly: true
        authorName:
          type: string
          readOnly: true
        createdAt:
          type: string
          format: date-time
          readOnly: true
      required:
        - authorEmail
        - authorName
        - content
        - createdAt
        - id
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

## Related topics

- [AML Check](https://documentation.idenfy.com/guides/dashboard/aml/aml-check.md)
- [Reviewing Risk Assessment Results](https://documentation.idenfy.com/guides/dashboard/risk/reviewing-the-risk-assessment-results.md)
- [Compliance and Monitoring Tab](https://documentation.idenfy.com/guides/dashboard/aml/compliance-monitoring-tab.md)
- [AML Monitoring](https://documentation.idenfy.com/guides/dashboard/aml/aml-monitoring.md)
- [Additional KYB Features](https://documentation.idenfy.com/guides/dashboard/kyb/additional-features-kyb.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.