---
title: "Communication & Tonality"
method: POST
path: "/communication"
tags: ["Text Analysis"]
---

# Communication & Tonality

`POST /communication`

Identify the purpose and writing style of a written text.

Supported Languages: [`ar`, `de`, `en`, `es`, `fr`, `it`, `nl`, `pt`, `ru`, `tr`, `zh`]

Returned labels:
* action-seeking
* fact-oriented
* information-seeking
* self-revealing

## Query parameters

- `all` boolean

## Request body

- Post[]
  - `id` string — id of the post.
  - `text` string, required — the text to be analysed.
  - `language` string, required — language_code of the text.

## Response `200`

Successful Response

- PostPredicted[]
  - `id` string — id of the post.
  - `predictions` Prediction[], required — the list of predictions.
    - `prediction` string, required — the predicted label.
    - `probability` number, required — the probability of the predicted label.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/symanto/apis/psycholinguistic-text-analytics.md) · [All operations](https://skmtc.net/symanto/apis/psycholinguistic-text-analytics/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/symanto/psycholinguistic-text-analytics/revisions/d74e31f8c7cc/schema)
