Adding a new log event

This method allows you to add arbitrary events to a ticket's history.

API

/api/v2/tickets/add_log_event

Access

This method can only be accessed by account API tokens.

Supported Parameters

  • ticket - the reference of the ticket you wish to add a log event for (required)
  • description - the text for the log event (required)
  • user - the ID or username of the user who is performing this action (optional, defaults to 'System')

Returned Data

If a log event is added successfully you will receive a 201 Created status with information about the added event. If any validation fails, you will receive a 422 Unprocessable Entity.

Example JSON

{
  "id": 110,
  "description": null,
  "user": null,
  "timestamp": "2012-04-12T13:07:29Z"
}

Proudly powered by Katapult. Running on 100% renewable energy.