---
title: "Send alerts from another tool"
url: https://xovris.ai/docs/api/operations/posthooksalertsbytenantbyconnection/
---

# Send alerts from another tool

`POST /v1/hooks/alerts/{tenant}/{connection}`

Open to anyone, so no Idempotency-Key is kept: nobody is signed in to keep it for, and replaying one caller's answer to another would hand it over.

No token needed: anyone may call this.

## Parameters

- `tenant` (string, path, required)
- `connection` (string, path, required)

## Request body

### `application/json`

- `event_id` (string)
- `id` (string)
- `MessageId` (string)
- `alerts`
- `title` (string)
- `message` (string)
- `externalURL` (string | null)
- `data`
- `action`
- `aggreg_key`
- `alert_id`
- `alert_transition`
- `priority`
- `alert_type`
- `body`
- `hostname` (string | null)
- `link` (string | null)
- `tags`
- `event`
- `source`
- `dedup_key`
- `status`
- `severity`
- `description`
- `asset` (string | null)
- `url` (string | null)
- `labels` (object)
- `starts_at` (string | null)
- `date`
- `last_updated`
- `timestamp`
- `at`

Example:

```json
{
  "event_id": "string",
  "id": "string",
  "MessageId": "string",
  "alerts": null,
  "title": "string",
  "message": "string",
  "externalURL": "string",
  "data": null,
  "action": null,
  "aggreg_key": null,
  "alert_id": null,
  "alert_transition": null,
  "priority": null,
  "alert_type": null,
  "body": null,
  "hostname": "string",
  "link": "string",
  "tags": null,
  "event": null,
  "source": null,
  "dedup_key": null,
  "status": null,
  "severity": null,
  "description": null,
  "asset": "string",
  "url": "string",
  "labels": {},
  "starts_at": "string",
  "date": null,
  "last_updated": null,
  "timestamp": null,
  "at": null
}
```

## Answers

- `200`: Done. (application/json: T512d582c91a1 | T5c5183589ab5)
- `404`: Nothing with that id here, or it belongs to another workspace. Nothing was changed. (application/json: Problem)
- `default`: Any other refusal or failure. The answer says what happened and what to do next. (application/json: Problem)

## A call

The address is https://api.xovris.ai/v1/hooks/alerts/{tenant}/{connection} - put your own value in place of each part in braces.

```sh
curl --request POST \
  --url 'https://api.xovris.ai/v1/hooks/alerts/{tenant}/{connection}' \
  --header 'Content-Type: application/json' \
  --data '{"event_id":"string","id":"string","MessageId":"string","alerts":null,"title":"string","message":"string","externalURL":"string","data":null,"action":null,"aggreg_key":null,"alert_id":null,"alert_transition":null,"priority":null,"alert_type":null,"body":null,"hostname":"string","link":"string","tags":null,"event":null,"source":null,"dedup_key":null,"status":null,"severity":null,"description":null,"asset":"string","url":"string","labels":{},"starts_at":"string","date":null,"last_updated":null,"timestamp":null,"at":null}'
```
