Dedup key when resolving incidents


Where can we find the dedup key when resolving incidents? How would I resolve my incidents with the dedup what are some documentations/code I can use to develop this in Javascript?

To resolve an incident, you just do an update on the incident with the status = resolved and only need the incident ID. There are code examples in the API reference below:

fetch(“”, {
“method”: “PUT”,
“headers”: {
“Content-Type”: “application/json”,
“Accept”: “application/vnd.pagerduty+json;version=2”,
“From”: “”,
“Authorization”: “Token token=FOO”
“body”: “{“incident”:{“type”:“incident_reference”,“status”:“resolved”}}”
.then(response => {
.catch(err => {