---
title: "Get Endpoint Secret"
method: GET
path: "/endpoint/{endpoint_id}/secret"
tags: ["Endpoint"]
---

# Get Endpoint Secret

`GET /endpoint/{endpoint_id}/secret`

Get the endpoint's signing secret.

This is used to verify the authenticity of the webhook.
For more information please refer to [the consuming webhooks docs](https://docs.svix.com/consuming-webhooks/).

## Path parameters

- `endpoint_id` string, required — The ep's ID or UID

## Response `200`

- EndpointSecretOut
  - `key` string, required — The endpoint's verification secret. If `null` is passed, a secret is automatically generated. Format: `base64` encoded random bytes optionally prefixed with `whsec_`. Recommended size: 24.

## Other responses

- `403` — Forbidden
- `404` — Not Found. Endpoint not found
- `429` — Too Many Requests
- `500` — Internal Error

---

[API](https://skmtc.net/safecube/apis/api-container-tracking.md) · [All operations](https://skmtc.net/safecube/apis/api-container-tracking/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/safecube/api-container-tracking/revisions/e74a670ab7a5/schema)
