---
title: "Retrieve webhook public key"
method: GET
path: "/webhooks/public_key"
tags: ["webhooks"]
deprecated: true
---

# Retrieve webhook public key

`GET /webhooks/public_key`

## Request

- Base URL: `https://api.getlago.com/api/v1`
- URL: `https://api.getlago.com/api/v1/webhooks/public_key`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/getlago/apis/lago-api-documentation/docs/webhooks/public_key/get.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

**Deprecated.** Use `GET /webhooks/json_public_key` instead. This endpoint is used to retrieve the public key used to verify the webhook signature.

## Response `200`

Public key

## Other responses

- `401`: Unauthorized error

## Changes

- **2026-11-03** `5d26657495a3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/getlago/apis/lago-api-documentation/changes/webhooks/public_key/get.md)

---

[API](https://skmtc.dev/getlago/apis/lago-api-documentation.md) - [All operations](https://skmtc.dev/getlago/apis/lago-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/getlago/apis/lago-api-documentation/revisions/b216574b9612?raw)
