Skip to main content
POST
/
tickets
/
{ticket}
/
reply
Reply to ticket
curl --request POST \
  --url https://rdp.sh/api/v1/tickets/{ticket}/reply \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": "<string>"
}
'
{
  "status": true,
  "message": "<string>",
  "comment": {
    "id": 123,
    "comment": "<string>",
    "user": {
      "id": 123,
      "name": "<string>"
    },
    "staff": true,
    "created_at": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

ticket
integer
required

Ticket ID

Body

application/json
message
string
required

The reply message content

Required string length: 1 - 5000

Response

Reply added successfully.

status
boolean
required
Example:

true

message
string
required
Example:

"Reply added successfully"

comment
object
required

Ticket comment object.