---
title: "Send events from a connected tool"
url: https://xovris.ai/docs/api/operations/posthookstoolsbytenantbyconnection/
---

# Send events from a connected tool

`POST /v1/hooks/tools/{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`

- `type`
- `challenge` (string)
- `event_id` (string)
- `id` (string)
- `MessageId` (string)
- `event`
- `issue`
- `webhookEvent`
- `comment`
- `changelog`
- `user` (string | null)
- `action`
- `data`
- `updatedFrom`
- `sender`
- `sys_id`
- `state`
- `ticket_id`
- `author` (string | null)
- `status`
- `events`
- `replyToId`
- `from`
- `text`
- `message`

Example:

```json
{
  "type": null,
  "challenge": "string",
  "event_id": "string",
  "id": "string",
  "MessageId": "string",
  "event": null,
  "issue": null,
  "webhookEvent": null,
  "comment": null,
  "changelog": null,
  "user": "string",
  "action": null,
  "data": null,
  "updatedFrom": null,
  "sender": null,
  "sys_id": null,
  "state": null,
  "ticket_id": null,
  "author": "string",
  "status": null,
  "events": null,
  "replyToId": null,
  "from": null,
  "text": null,
  "message": null
}
```

## Answers

- `200`: Done. (application/json: T512d582c91a1 | T25fd3aa9966c)
- `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/tools/{tenant}/{connection} - put your own value in place of each part in braces.

```sh
curl --request POST \
  --url 'https://api.xovris.ai/v1/hooks/tools/{tenant}/{connection}' \
  --header 'Content-Type: application/json' \
  --data '{"type":null,"challenge":"string","event_id":"string","id":"string","MessageId":"string","event":null,"issue":null,"webhookEvent":null,"comment":null,"changelog":null,"user":"string","action":null,"data":null,"updatedFrom":null,"sender":null,"sys_id":null,"state":null,"ticket_id":null,"author":"string","status":null,"events":null,"replyToId":null,"from":null,"text":null,"message":null}'
```
