Get Incident Report by ID
Method: GET
/api/v1/incident-reports/{id}
Description
This endpoint retrieves the details of a specific incident report based on the provided incident ID.
🔑 Authentication
This endpoint requires authentication via headers.
| Param | Value | Type |
|---|---|---|
tenantId | {{tenantId}} | string |
userId | {{userId}} | string (optional) |
Path Parameter
| Name | Type | Description |
|---|---|---|
id | string | The unique ID of the incident report to retrieve. |
Response: 200 OK
A successful response returns the details of the specified incident report.
Example Response:
{
"incidentId": "123456",
"reporterId": "user123",
"tenantId": "tenant456",
"title": "Safety Violation",
"description": "The incident involved a safety violation at the warehouse.",
"status": "OPEN",
"createdAt": "2025-02-12T10:15:30.000Z",
"updatedAt": "2025-02-13T12:00:00.000Z"
}
LANGUAGE
CURL REQUEST
curl --request GET \
--url /api/v1/incident-reports/{id} \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!