---
title: "Verify the device of Talk with another device of the user"
method: POST
path: "/ocs/v2.php/apps/spreed/api/{apiVersion}/matrix/account/verification"
tags: ["matrix_account"]
---

# Verify the device of Talk with another device of the user

`POST /ocs/v2.php/apps/spreed/api/{apiVersion}/matrix/account/verification`

## Request

- The document declares no server URL.
- Auth: one of:
  - HTTP bearer
  - HTTP basic

The other devices are asked to verify, the user accepts on one of them and compares the emoji. That device then cross-signs the device of Talk, so clients share the keys of encrypted rooms with it.

## Path parameters

- `apiVersion` 'v1', required

## Headers

- `OCS-APIRequest` boolean, required

## Response `201`

Verification requested

- object
  - `ocs` object, required
    - `meta` OCSMeta, required
      - `status` string, required
      - `statuscode` integer, required
      - `message` string
      - `totalitems` string
      - `itemsperpage` string
    - `data` MatrixVerification, required
      - `state` string, required: One of `requested`, `ready`, `started`, `accepted`, `keys_exchanged`, `mac_sent`, `done` and `cancelled`
      - `emoji` object[], required: Emoji to compare with the other device, once the keys were exchanged
        - `emoji` string, required
        - `name` string, required
      - `reason` string, nullable, required: Why the verification was cancelled

## Other responses

- `400`: Encryption is not available on the server or the device of Talk could not publish its keys
- `401`: Current user is not logged in
- `404`: No active linked account
- `502`: The homeserver could not be reached

## Changes

- **2026-10-12** `d31435356a15`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nextcloud/apis/spreed-full/changes/ocs/v2.php/apps/spreed/api/:apiVersion/matrix/account/verification/post.md)

---

[API](https://skmtc.dev/nextcloud/apis/spreed-full.md) - [All operations](https://skmtc.dev/nextcloud/apis/spreed-full/llms.txt) - [OpenAPI document](https://skmtc.dev/nextcloud/apis/spreed-full/revisions/1d24d3b8fec0?raw)
