---
title: "Tell your devices, in your order, that a session needs you"
url: https://xovris.ai/docs/api/operations/postsessionstell/
---

# Tell your devices, in your order, that a session needs you

`POST /v1/sessions/tell`

Needs a token that can read and change. A token without change access is refused with `token_read_only` and the step to take.

## Request body

### `application/json`

- `event` (T9eb39a378b96)
  - `key` (string)
  - `kind` (string ("fixed", "proven", "need", "changed-result", "broke"))
  - `blocking` (boolean)
  - `at` (string)
- `order` (T6df375087a5f)
  - `order` (string ("push", "email", "cli", "slack", "teams", "telegram", "discord", "sms", "whatsapp", "call", "google-chat", "phone-app", "command-centre", "chat-thread")[])
  - `quiet` (Tf84c2390ee3e)
  - `escalateAfterMinutes` (number)
- `told`

Example:

```json
{
  "event": {
    "key": "string",
    "kind": "fixed",
    "blocking": true,
    "at": "string"
  },
  "order": {
    "order": [
      "push"
    ],
    "quiet": {
      "from": "string",
      "to": "string",
      "timeZone": "string"
    },
    "escalateAfterMinutes": 1
  },
  "told": null
}
```

## Answers

- `200`: Done. (application/json: Tc142f74112aa)
- `401`: Not signed in: the token is missing, expired or revoked. The answer says how to get a new one. (application/json: Problem)
- `403`: Signed in, but this token or role may not do this. The answer names the permission it needs. (application/json: Problem)
- `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/sessions/tell - put your own value in place of each part in braces.

```sh
curl --request POST \
  --url 'https://api.xovris.ai/v1/sessions/tell' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{"event":{"key":"string","kind":"fixed","blocking":true,"at":"string"},"order":{"order":["push"],"quiet":{"from":"string","to":"string","timeZone":"string"},"escalateAfterMinutes":1},"told":null}'
```
