v1

latestOpenAPI 3.0.32026-07-268955212.1 KB
journal-entries

Add a comment to a journal entry

Adds a comment to a journal entry that was created through the API.

Comments are plain text only. Rich text, markdown, and HTML are not supported.

The author name will be set to the integration name of the API user.

Scope: journal-entries:write

post/companies/{companyId}/journal-entries/{journalEntryId}/comments

Request body

contentstring required

The plain text content of the comment. Rich text, markdown, and HTML are not supported.

Example request

{
  "content": "Synced from external system. Invoice reference: INV-2024-001."
}

Response

Comment created

idstring uuid

Unique identifier of the comment

contentstring

The plain text content of the comment

authorNamestring

Display name of the comment author (integration name or user name)

createdDatetimestring date-time

When the comment was created (UTC)

updatedDatetimestring date-time

When the comment was last updated (UTC)

Example response

{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "content": "Synced from external system. Invoice reference: INV-2024-001.",
  "authorName": "My Integration App",
  "createdDatetime": "2024-10-15T08:30:00Z",
  "updatedDatetime": "2024-10-15T08:30:00Z"
}