POST
/
timeline_comments
curl --request POST \
  --url https://app.supercycle.com/api/v1/timeline_comments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "timeline_event": {
    "eventable_id": 123,
    "eventable_type": "Item",
    "message": "<string>"
  }
}'
{
  "id": 123,
  "eventableId": 123,
  "eventableType": "<string>",
  "eventType": "comment",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

201
application/json
Successfully created timeline comment

The response is of type object.