MagicWP Docs
Tickets

Reply to a ticket

POST
/v1/tickets/{ticket_id}/replies

Permission: support.manage

Authorization

apiToken
headerAuthorizationBearer <token>

An API token (mwp_…) from Settings → API tokens. Only accepted on this host.

Path Parameters

ticket_id*Ticket Id
Formatuuid

Request Body

application/json
  1. body
message*Message
Lengthlength <= 10000

Response Body

Successful Response

application/json
  1. response
success*boolean
data*

The result; on an error, details such as code and permission.

message*string
status_code*integer
timestamp*string
Formatdate-time
meta?|null
curl -X POST "https://example.com/v1/tickets/497f6eca-6276-4993-bfeb-53cbbbba6f08/replies" \  -H "Content-Type: application/json" \  -d '{    "message": "string"  }'
{  "message": "string",  "status_code": 0,  "timestamp": "2019-08-24T14:15:22Z",  "meta": {},  "success": true,  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",    "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",    "is_admin": true,    "message": "string",    "ip_address": null,    "created_at": "2019-08-24T14:15:22Z"  }}