Skip to main content
POST
Create a takeaway comment

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

takeawayId
integer<int64>
required

Body

application/json
text
string
required

Comment text

mentionedAccountIds
integer<int64>[]

Account ids mentioned in the comment

parentId
integer<int64>

Unique Id of the parent comment

Response

Created

authorId
integer<int64>
read-only

Account Id of the comment author

dateCreated
string<date-time>
read-only

Date when the comment was created

dateModified
string<date-time>
read-only

Date when the comment was modified

id
integer<int64>
read-only

Unique Id of the takeaway comment

mentionedAccountIds
integer<int64>[]
read-only

Account ids mentioned in the comment

parentId
integer<int64>
read-only

Unique Id of the parent comment

status
enum<string>
read-only

Comment status

Available options:
ACTIVE,
ARCHIVED
takeawayId
integer<int64>
read-only

Unique Id of the takeaway

text
string
read-only

Comment text