---
title: "Decode and verify object"
method: POST
path: "/v2/tools/decode-and-verify"
tags: ["Tools/Encoding"]
---

# Decode and verify object

`POST /v2/tools/decode-and-verify`

Decodes and verifies an encoded value previously created by the
encode-and-sign endpoint. Returns the original decoded object along with
information about the user who encoded it and whether that user is verified.

**Important**: The request must specify the `Content-Type: application/json`
HTTP header.

## Request body

- DecodeAndVerifyRequest
  - `encoded` string, required

## Response `200`

- DecodeAndVerifyResponse
  - `data` DecodeAndVerifyData, required
    - `decoded` unknown, required
    - `encodedByUserId` string, nullable, required
    - `isVerifiedUser` boolean, required

## Other responses

- `400` — Bad request - invalid input parameters or request body.
- `405` — Method not allowed.
- `413` — Payload too large - the request body exceeds the size limit.
- `415` — Unsupported media type - the Content-Encoding of the request is not supported.
- `429` — Too many requests - rate limit exceeded.

---

[API](https://skmtc.net/apify/apis/apify-api.md) · [All operations](https://skmtc.net/apify/apis/apify-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apify/apify-api/versions/01a71794279b/schema)
