Endpoint
/api/v2/tenants/{tenantId}/alerts/{alertId}/incidents/{incidentId}/attach
Path Parameters
tenantId
string

alertId
string

IncidentId
string

assignedUser
object

The designated user who is assigned to the incident.

assignedUser.id
assignedUser.loginName
attachments
array

Information related to the incident in base64 encoded format.

attachments.file
attachments.name
customFields
array

User-customized fields that can include additional information about an incident. Use the Get Incident Custom Fields API to get custom fields of an incident.

customFields.id
customFields.name
customFields.value
priority
string

The incident priority: low, normal, high, urgent, and very low.

status
string

The incident status used to check the status of an incident.

toEmail
string

The email address to receive incident notifications.

{
  "assignedUser": {
    "id": "USR0000002146",
    "loginName": "FSSL-API-Lab-User-1"
  },
  "attachments": [
    {
      "file": "U2FtcGxlIFRleHQgZmlsZS0gdGVzdGluZyB3aXRoIGF0dGFjaG1lbnQ=",
      "name": "1.txt"
    },
    {
      "file": "U2FtcGxlIFRleHQgZmlsZS0gdGVzdGluZyB3aXRoIGF0dGFjaG1lbnQ=",
      "name": "2.txt"
    }
  ],
  "customFields": [
    {
      "id": "UDF0000003790",
      "name": "External Id",
      "value": "2"
    },
    {
      "id": "UDF0000003791",
      "name": "Incident History",
      "value": "request custom field - text"
    }
  ],
  "priority": "Low",
  "status": "Resolved",
  "toEmail": "john.smith@domain.com"
}

Responses

OK