Create a comment.

Use this endpoint to add a comment to a specific contract. See Comment for more information.

Path Params
integer
required

The unique ID of the contract.

Body Params

Request body parameters for creating a comment.

_private_ownerside
object

Contract comment attributes that are private to the ownerside.

string
required
length between 1 and 5000

The actual message of a comment.

integer | null

The id of the parent comment. It should not be an id of a reply comment.

participants
array of objects

A list containing the participant IDs that the comment should notify.

participants
boolean

Indicates this comment is private or not.

Headers
string
required
length between 40 and 40

The API key of your Oneflow account.

string
required

The email address of a registered Oneflow user.

Responses

400

Invalid format or content of the request.

401

The API token or the user email is invalid.

403

The request is not authorized by the server.

404

A required entity is missing.

409

A conflict occurred with the current state of the target resource.

Language
URL
Choose an example:
application/json