---
title: "Read the public key that fix receipts are signed with"
url: https://xovris.ai/docs/api/operations/getpublicreceiptkey/
---

# Read the public key that fix receipts are signed with

`GET /v1/public/receipt-key`

Returns the public half of the key every fix receipt is signed with, as a PEM file, with its key id in the `x-xovris-key-id` header - what `npx xovris receipt verify` and OpenSSL check a receipt against. The website serves the same bytes at /.well-known/xovris-receipts.pem, and the answer may be cached for an hour. Where receipt signing is not switched on, the answer is 404 `receipt_signing_off`; receipts already issued keep their stored signatures.

No token needed: anyone may call this.

## Answers

- `200`: Done. (application/x-pem-file: string)
- `404`: Nothing with that id here, or it belongs to another workspace. Nothing was changed. (application/json: Problem)
- `default`: Any other refusal or failure. The answer says what happened and what to do next. (application/json: Problem)

## A call

The address is https://api.xovris.ai/v1/public/receipt-key - put your own value in place of each part in braces.

```sh
curl --request GET \
  --url 'https://api.xovris.ai/v1/public/receipt-key'
```
