Manage Case Links๐
Create, update, and delete links to external systems (ServiceNow, 4Me, etc.) or internal resources on a case.
Create Link๐
mutation createCaseLink($input: CreateCaseLinkInput!) {
createCaseLink(input: $input) {
id
caseId
url
title
type
isInternal
createdAt
}
}
Variables๐
{
"input": {
"caseId": "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
"url": "https://company.service-now.com/nav_to.do?uri=/incident.do?sys_id=123abc",
"reference": "INC0123456",
"title": "ServiceNow Incident",
"type": "ServiceNow",
"isInternal": false
}
}
Update Link๐
Updates are partial (PATCH semantics) โ only provided fields are modified.
mutation updateCaseLink($input: UpdateCaseLinkInput!) {
updateCaseLink(input: $input) {
id
caseId
url
title
type
isInternal
updatedAt
}
}
Variables๐
{
"input": {
"id": "550e8400-e29b-41d4-a716-446655440400",
"title": "ServiceNow Incident (Resolved)",
"reference": "INC0123456"
}
}
Delete Link๐
mutation deleteCaseLink($input: DeleteCaseLinkInput!) {
deleteCaseLink(input: $input) {
id
caseId
url
}
}
Variables๐
Notes๐
- Links can reference external systems (ServiceNow, 4Me, etc.) or internal resources.
referenceis an optional identifier for the linked resource.isInternallinks are only visible to internal users and defaults tofalse. Only partner/MDR provider users can set it totrue.- Retrieve a case's existing links via the
linksfield on thecasequery. See Get a Case. deleteCaseLinkis a hard delete. Data will not be recoverable.