latestSwagger 2.02026-08-102194011.3 MB
602fc25ddd76
Incident Attachments V1
Create Incident Attachments V1
Attaches an external resource to an incident
post/v1/incident_attachments
Request body
Example request
{
"incident_id": "01FDAG4SAP5TYPT98WGR2N7W91",
"resource": {
"external_id": "123",
"resource_type": "pager_duty_incident"
}
}Response
Created response.
Example response
{
"incident_attachment": {
"id": "01FCNDV6P870EA6S7TK1DSYD5H",
"incident_id": "01FCNDV6P870EA6S7TK1DSYD5H",
"resource": {
"external_id": "123",
"permalink": "https://my.pagerduty.com/incidents/ABC",
"resource_type": "pager_duty_incident",
"title": "The database has gone down"
}
}
}