Skip to main content
GET
/
takeaways
/
{takeawayId}
/
comments
Get all takeaway comments
curl --request GET \
  --url https://api.kameleoon.com/takeaways/{takeawayId}/comments \
  --header 'Authorization: Bearer <token>'
[
  {
    "authorId": 123,
    "dateCreated": "2023-11-07T05:31:56Z",
    "dateModified": "2023-11-07T05:31:56Z",
    "id": 123,
    "mentionedAccountIds": [
      123
    ],
    "parentId": 123,
    "takeawayId": 123,
    "text": "<string>"
  }
]

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

Query Parameters

paramsIO
object
required

Response

OK

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

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