Returns full details of a specific requirement.
Returns detailed information about a requirement, including linked testcases. Execution data and defect data are not expanded in this response. This endpoint does not modify any data.
Use this endpoint when you need to:
curl -X GET https://api.hawzu.com/api/v1/workspace/{workspaceId}/project/{projectId}/requirements/{requirementId} \
-H "Authorization: Bearer YOUR_API_TOKEN"| Parameter | Required | Description |
|---|---|---|
workspaceId | ✅ Yes | The ID of the workspace to get the requirement for |
projectId | ✅ Yes | The ID of the project to get the requirement for |
requirementId | ✅ Yes | The ID of the requirement to get |
| Header | Required | Description |
|---|---|---|
Authorization | ✅ Yes | Bearer token in the format Bearer <API_TOKEN> |
{
"data": {
"id": "req_101",
"project_id": "proj_101",
"title": "User login functionality",
"type": "FUNCTIONAL",
"status": "ACTIVE",
"labels": ["authentication", "core"],
"created_at": "2026-02-01T00:00:00Z",
"updated_at": "2026-02-05T00:00:00Z",
"testcases": [
{
"id": "tc_101",
"testcase_code": "TC_LOGIN_001",
"title": "Verify successful login"
},
{
"id": "tc_102",
"testcase_code": "TC_LOGIN_002",
"title": "Verify invalid password handling"
}
]
}
}