CoderHelm Docs
APIWebhook endpoints

Reveal the signing secret

GET
/api/webhooks/endpoints/{endpoint_id}/secret

The endpoint's current signing secret. Each reveal is written to the team's audit log.

Authorization

api_key webhooks
headerAuthorizationBearer <token>

A team API key, made by an admin under Settings, API keys. Send it as Authorization: Bearer chk_....

Scope: webhooks

Path Parameters

endpoint_id*string

The endpoint's id.

Response Body

The secret.

application/json
  1. response

An endpoint's signing secret.

previous_secret_expires_at?|

While the previous secret still signs too, when it stops.

Examplenull
secret*string

The current secret.

Example"whsec_C2FVsBQIhrscChlQIMV+b5sSYspob7oD7vS8nSUIQ2c="
curl -X GET 'https://api.coderhelm.com/api/webhooks/endpoints/ep_01jbendpt4a7b0c3d6e9f2g5h8/secret' \  -H "Authorization: Bearer $CODERHELM_API_KEY"
{  "previous_secret_expires_at": null,  "secret": "whsec_C2FVsBQIhrscChlQIMV+b5sSYspob7oD7vS8nSUIQ2c="}
Edit on GitHub