---
title: "Confirm that the emoji match the ones of the other device"
method: PUT
path: "/ocs/v2.php/apps/spreed/api/{apiVersion}/matrix/account/verification"
tags: ["matrix_account"]
---

# Confirm that the emoji match the ones of the other device

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

## Request

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

## Path parameters

- `apiVersion` 'v1', required

## Headers

- `OCS-APIRequest` boolean, required

## Response `200`

Verification confirmed

- 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`: There is nothing to confirm
- `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/put.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)
