Skip to Content

Add Comment

POST
/api/v1/tickets/{ticket_id}/comments

Required scope: tickets:write

Authorization

headerAuthorizationBearer <luso8_sk_live_<40 characters>>

A workspace API key, sent as Authorization: Bearer <key>. Create keys in Settings → Developers → API keys.

Path Parameters

ticket_id*Ticket Id

Request Body

application/json
  1. body
content*Content
Length1 <= length
internal?Internal
Defaulttrue

Response Body

Successful Response

application/json
  1. response
id*Id
ticket_id*Ticket Id
content*Content
message_type*Message Type
sender_id?string|null
sender_name?string|null
created_at?|null
internal?Internal
Defaulttrue
Example Request
curl -X POST 'https://api.luso8.rexplore.ai/api/v1/tickets/string/comments' \  -H 'Content-Type: application/json' \  -d '{  "content": "string"}'
Example Response
{  "id": "string",  "ticket_id": "string",  "content": "string",  "message_type": "string",  "sender_id": "string",  "sender_name": "string",  "created_at": "2019-08-24T14:15:22Z",  "internal": true}