Claims
Respond to Claim
Add a response message to an open damage claim
POST
/claims/:id/respondAdd a response message to an existing damage claim. Both the boat's company members and the booking guest can respond. Responses can only be added while the claim is open (not resolved or declined).
Authentication
Requires authentication as either a company member for the boat or the booking guest.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | Claim ID (UUID) |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
message | string | Yes | Response message text |
attachments | string[] | No | Array of attachment URLs |
Request
Response
Response Fields
| Field | Type | Description |
|---|---|---|
success | boolean | Always true on success |
message.id | string | Message ID (UUID) |
message.claim_id | string | The claim this message belongs to |
message.sender_type | string | owner (company member) or guest |
message.sender_id | string | User ID of the sender |
message.message | string | Response text |
message.attachments | string[] | Attached file URLs |
message.created_at | string | ISO 8601 timestamp |
Sender Types
The sender_type is automatically determined based on the authenticated user:
| Sender Type | Who |
|---|---|
owner | A member of the boat's company |
guest | The guest from the booking |
Errors
| Status | Message |
|---|---|
400 | Claim ID required |
400 | Message is required |
400 | This claim has been closed |
403 | Not authorized |
404 | Claim not found |
Notifications
When a response is added, email notifications are sent to:
- The other party (guest receives owner responses, owner receives guest responses)
- The claims team at Charter Boats