---
title: "FreshService - Alerts Webhook Integration"
slug: "freshservice-alerts-webhook-integration"
updated: 2023-01-06T15:49:41Z
published: 2023-01-06T15:49:41Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.catchpoint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# FreshService - Alerts Webhook Integration

## **Summary**

**[Freshservice](https://freshservice.com)** is a cloud-based IT Help Desk and service management solution that enables organizations to simplify their IT operations. Its features include:

- Incident Management
- SLA Management
- Knowledge Management
- Service Catalog
- Automation
- Team collaboration

## Freshservice Setup

You can send alerts from Catchpoint's monitoring tools to Freshservice using its API. To enable Alert Management in your Freshservice account:

- Go to **Admin > Helpdesk Productivity > Alert Management > Integrations**
- Capture the **endpoint URL** and **authentication key** for your account, displayed in the API Contract.

More information on the webhook payload can be found here - [https://support.freshservice.com/support/solutions/articles/50000001190-alert-management-in-freshservice](https://support.freshservice.com/support/solutions/articles/50000001190-alert-management-in-freshservice)

## Catchpoint Setup

1. Log in to the Catchpoint Portal and go to **Settings -> API** [https://portal.catchpoint.com/ui/Content/Administration/ApiDetail.aspx](https://portal.catchpoint.com/ui/Content/Administration/ApiDetail.aspx)![api1.png](https://cdn.document360.io/cb4af8f9-6751-4fd2-b39c-07aae832badb/Images/Documentation/4402411245709-api1.png)
2. In the **Alerts API** section and enter the **Endpoint URL** and make the status as **Active.** This URL can be found in the Fresh service setup as explained before.

![fresh_service.png](https://cdn.document360.io/cb4af8f9-6751-4fd2-b39c-07aae832badb/Images/Documentation/360058136811-fresh_service.png)

1. The Alert format you need to choose is **Template**. Click **Add New** and you will be taken to the Edit Template window.
2. Give the Template a name and set the **Format** to **JSON**.

Sample Custom JSON template:

```
{
"hostname":"${TestName}",
"resource":"${testUrl}",
"severity":"${switch('${notificationLevelId}','0','warning','1','critical','2','recovery','recovery')}",
"message":"Alert from Catchpoint",
"description": "TestID: ${TestId}, Test Link: ${testLink}, Product: ${ProductName}",
"additional_info":{
    "custom_attribute1": "Node Name - ${NodeDetails('${NodeName}')}",
    "custom_attribute2": "Node IP - ${NodeDetails('${NodeClientAddress}')}", "custom_attribute3":
    "Error - ${NodeDetails(${nodeErrorValue})}"}
}
```

You can also customize your template by making use of these macros: [https://docs.catchpoint.com/docs/alert-webhook-macro-index](https://docs.catchpoint.com/docs/alert-webhook-macro-index)

1. **Save** your template and **Save** the API configuration.
2. If you have any alerts configured on your tests you will now see Catchpoint Alerts in the Freshservice portal.

**Alert in Freshservice UI:**

![alert.png](https://cdn.document360.io/cb4af8f9-6751-4fd2-b39c-07aae832badb/Images/Documentation/360057981932-alert.png)
