get

GET /v2/cases/{id}/actions/details — Get case details, comments, and attachments

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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

{
  "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

StatusCodeDescription
422INVALID_FIELDCase has no linked Jira issue
404Case 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

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!