POST
/api/public/v1/support-cases/{caseId}/messages

Add a message to a case

Post a new message on a support case.

Path Parameters

NameTypeRequiredDescription
caseIdstring
Required
Support case ID.

Request Body

PropertyTypeDescription
textstringMessage body (max 500 chars).
POSTExample request
curl
curl -X POST "https://www.pxb.app/api/public/v1/support-cases/{caseId}/messages" \
  -H "X-Organization-Id: your_org_id" \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Following up on this case."
  }'
200Example response
json
{
  "message": "Message added successfully!",
  "content": {
    "messageSent": {
      "id": "msg_1"
    }
  }
}