GET /v2/cases/{id}/actions/details — Get case details, comments, and attachments
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Returns full case detail in one call: issue metadata, the public comment thread, and attachments. Comments and attachments are not included on GET /v2/cases/{id} — use this endpoint for the full conversation view.
affiliate_agent callers can only fetch details for cases they created themselves — any other case returns 404.
Response 200
200{
"success": true,
"data": {
"issueDetails": {
"_id": "case::abc123",
"ticketId": "SUPPORT-42",
"summary": "Cannot update patient address",
"ticketStatus": "in-progress",
"ticketStatusLabel": "In Progress",
"category": "Patient Support Request",
"requestTypeId": "10",
"relatedOrder": "order::abc123",
"createdAt": "2026-05-30T14:00:00.000Z",
"updatedAt": "2026-05-31T10:00:00.000Z",
"firstResponseTime": null,
"priority": { "name": "High", "id": "2" },
"externalCaseUrl": "https://telegramd.atlassian.net/servicedesk/customer/portal/1/SUPPORT-42",
"reporter": {
"accountId": "5f8a...",
"displayName": "Jane Doe",
"email": "[email protected]",
"user_id": "usr::abc123"
},
"requestFieldValues": [],
"currentStatus": { "status": "In Progress", "statusCategory": "indeterminate" }
},
"comments": [
{
"id": "12345",
"body": "Can you confirm the new address?",
"renderedBody": "<p>Can you confirm the new address?</p>",
"author": { "displayName": "Support Agent", "avatarUrl": "https://..." },
"isAffiliatePosted": false,
"createdAt": "2026-05-30T15:00:00.000Z",
"isPublic": true
}
],
"commentsFailed": false,
"requestAttachments": [
{
"id": "10001",
"filename": "screenshot.png",
"mimeType": "image/png",
"size": 20480,
"created": "2026-05-30T14:05:00.000Z",
"contentUrl": "https://.../cases/abc123/attachments/10001/download",
"thumbnailUrl": "https://.../cases/abc123/attachments/10001/thumbnail"
}
]
}
}Only public comments with non-empty body text are included — internal Jira comments and empty/attachment-only comments are filtered out (their attachments still appear in requestAttachments). commentsFailed is true if the comment thread couldn't be fetched from Jira — issueDetails and requestAttachments are still returned from cached/DB data in that case. attachment*Url values proxy through this API rather than pointing directly at Jira.
There is no id, jiraKey, description, comments (top-level), or watchers field — comments live under data.comments and the issue key is data.issueDetails.ticketId.
Errors
| Status | Code | Description |
|---|---|---|
| 422 | INVALID_FIELD | Case has no linked Jira issue |
| 404 | — | Case not found, not in this affiliate, or (for affiliate_agent) not created by the caller |
Required role
affiliate_super_admin, affiliate_admin, or affiliate_agent
