Copy as Markdown[Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fcoralogix.com%2Fdocs%2Fuser-guides%2Fnotification-center%2Fdestination-types%2Fhttps%2Fsupport-for-incident.io.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)[Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fcoralogix.com%2Fdocs%2Fuser-guides%2Fnotification-center%2Fdestination-types%2Fhttps%2Fsupport-for-incident.io.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)

# Incident.io configuration via HTTPS

This guide demonstrates how to configure a connector and define message configuration for integrating incident.io with Coralogix using the generic HTTPS destination type.

incident.io uses a single endpoint for both triggering and resolving alerts. The instructions below walk you through setting up the connector and message payloads to support this integration.

## Connector configuration[​](#connector-configuration "Direct link to Connector configuration")

The generic HTTPS connector integrates with any HTTPS endpoint. Configure the request method, headers, and body to establish communication between Coralogix Notification Center and a third-party system like incident.io.

### Prerequisites[​](#prerequisites "Direct link to Prerequisites")

Before configuring the connector, create the Coralogix integration inside the incident.io app:

* Navigate to [Alerts > Create alert source](https://app.incident.io/~/alerts/sources/create).
* Select the Coralogix integration type from the list, give it a name, and select **Continue**. [![Coralogix integration type selection in incident.io](/docs/assets/images/integration_step_0-9487a660e696fc5068dc4a32de023210.webp)](https://coralogix.com/docs/assets/images/integration_step_0-9487a660e696fc5068dc4a32de023210.webp)
* On the next page, copy the provided **URL** and auth headers. These values are used during the connector creation stage. [![Coralogix integration URL and auth headers in incident.io](/docs/assets/images/integration_step_1-88077ec813b401d41cce829f82a9d111.webp)](https://coralogix.com/docs/assets/images/integration_step_1-88077ec813b401d41cce829f82a9d111.webp)
* Finish integration creation by selecting **Continue**. Pause and read more about integration capabilities if needed.

**Create the connector** with the following configuration:

* **URL:** `https://api.incident.io/v2/alert_events/coralogix/<<connection_id>>`

* **Headers:**

  ```
  {

      "Authorization": "Bearer <<YOUR_API_KEY>>",

      "Content-Type": "application/json"

  }
  ```

## Message configuration[​](#message-configuration "Direct link to Message configuration")

incident.io supports both alert and case notifications from Coralogix. Use the preset that matches the entity type you are routing.

* Alert preset
* Case preset

**Create a preset** for alerts using the following JSON structure (**Body** part):

```
{

  "alert_id": "{{alert.groupingKey}}",

  "alert_name": {% filter json_encode %}[ {{alert.highestPriority}} ]{{alertDef.name}}{% endfilter %},

  "alert_description": {{alertDef.description | json_encode}},

  "alert_action": {% if alert.status | lower == "triggered" %}"trigger"{% else %}"resolve"{% endif %},

  "alert_url": "{{alert.alertDataUrl | default(value = '')}}",

  "metadata": {

    "alert_id": "{{alert.id}}",

    "alert_name": {{alertDef.name | json_encode}},

    "alert_description": {{alertDef.description | json_encode}},

    "alert_action": {% if alert.status | lower == "triggered" %}"trigger"{% else %}"resolve"{% endif %},

    "alert_url": "{{alert.alertDataUrl | default(value = '')}}",

    "alert_priority": "{{alert.highestPriority | default(value = alertDef.priority)}}",

    "dedup_key": "{{alert.groupingKey}}"

  }

}
```

**Create a preset** for [Cases](https://coralogix.com/docs/user-guides/notification-center/entity-types/cases.md) using the following JSON structure (**Body** part). The `alert_action` resolves to `trigger` while the Case is `ACTIVE` or `ACKNOWLEDGED`, and to `resolve` once the Case closes.

```
{

  "alert_id": "{{ case.id }}",

  "alert_name": {{ case.title | json_encode }},

  "alert_description": {{ case.description | json_encode }},

  "alert_action": {% if case.status == "ACTIVE" or case.status == "ACKNOWLEDGED" %}"trigger"{% else %}"resolve"{% endif %},

  "alert_url": "{{ case.url }}",

  "metadata": {

    "case_id": "{{ case.id }}",

    "priority": "{{ case.priority }}",

    "status": "{{ case.status }}",

    "category": "{{ case.category }}",

    "created_at": "{{ case.createdAt }}",

    {% if case.updatedAt %}"updated_at": "{{ case.updatedAt }}",{% endif %}

    "assignee": "{{ case.assignee.userEmail | default(value = "N/A") }}",

    "labels": {{ case.labels | json_encode(pretty = true) }},

    "groupings": {{ case.groupings | json_encode(pretty = true) }}

  }

}
```

## Next steps[​](#next-steps "Direct link to Next steps")

Configure a PagerDuty connector to send alert notifications in [Connector configuration](https://coralogix.com/docs/user-guides/notification-center/destination-types/pagerduty/connector-config.md).
