---
title: "Gets the public key for a webhook key id"
method: GET
path: "/webhooks/keys/{keyId}"
tags: ["Webhooks"]
---

# Gets the public key for a webhook key id

`GET /webhooks/keys/{keyId}`

Retrieve the webhook public key for a given key id

## Path parameters

- `keyId` string, required

## Headers

- `Crezco-Version` string

## Response `200`

OK

- WebhooksKeyResourceRepresentationVersion3
  - `keyId` string, required
  - `publicKey` string, required

## Other responses

- `401` — You do not have access. Check your API key is correct.
- `403` — You do not have access to this organisation.
- `404` — Not Found
- `406` — The version of the API that you requested is not available. Check your Crezco-Version header. If you omit this header you will use the latest version of the API.
- `429` — You have made too many requests to the API in too short a period. Wait a while and try again.

---

[API](https://skmtc.net/crezco/apis/payables-api.md) · [All operations](https://skmtc.net/crezco/apis/payables-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crezco/payables-api/revisions/4427e79fba09/schema)
