---
title: "Verify a signed envelope"
method: POST
path: "/verify"
tags: ["Signing"]
---

# Verify a signed envelope

`POST /verify`

Checks the signature(s) on a GOBL envelope using the provided public key.

## Request body

- VerifyRequest
  - `data` unknown, required
  - `publickey` JWK — JSON Web Key (RFC 7517) — ES256 / P-256.
    - `kty` string
    - `crv` string
    - `alg` string
    - `use` string
    - `kid` string, uuid
    - `x` string — Base64url-encoded X coordinate.
    - `y` string — Base64url-encoded Y coordinate.
    - `d` string — Base64url-encoded private exponent (private keys only).

## Response `200`

Verification passed

- OkResponse
  - `ok` boolean

## Other responses

- `400` — Error response
- `422` — Error response

---

[API](https://skmtc.dev/gobl/apis/gobl-api.md) · [All operations](https://skmtc.dev/gobl/apis/gobl-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gobl/gobl-api/revisions/66ef451fe34b/schema)
