POST
/api/public/v1/support-cases/{caseId}/messagesAdd a message to a case
Post a new message on a support case.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
caseId | string | Required | Support case ID. |
Request Body
| Property | Type | Description |
|---|---|---|
text | string | Message 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"
}
}
}