---
title: "Read a connected system through its own protocol - messages, files, mail, events or directory entries"
url: https://xovris.ai/docs/api/operations/postprotocolconnectionsbyidread/
---

# Read a connected system through its own protocol - messages, files, mail, events or directory entries

`POST /v1/protocol-connections/{id}/read`

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

## Parameters

- `id` (string, path, required)

## Request body

### `application/json`

- `target`
- `verb`
- `args`

Example:

```json
{
  "target": null,
  "verb": null,
  "args": null
}
```

## Answers

- `200`: Done. (application/json: object | object | T9da982f56f8d | object | object | Teae21330a91d | T1dfaca9883ba | Tdbe720f4339c | object | object | object | T0482f77ae842 | T95ad65aad395 | object | T49055cc748d9 | Tcea6b38a5ae4 | T9c9071aeb1fd | object | object | Tf6a0a78127f3 | T18ed70c63967 | object | Tcae4aae0c1c8 | Tba87bf0a679a | Tee01b93822c1)
- `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/protocol-connections/{id}/read - put your own value in place of each part in braces.

```sh
curl --request POST \
  --url 'https://api.xovris.ai/v1/protocol-connections/{id}/read' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{"target":null,"verb":null,"args":null}'
```
