---
title: "GetWorkflowWebhookSecret"
method: POST
path: "/gitpod.v1.WorkflowService/GetWorkflowWebhookSecret"
tags: ["gitpod.v1.WorkflowService"]
---

# GetWorkflowWebhookSecret

`POST /gitpod.v1.WorkflowService/GetWorkflowWebhookSecret`

Gets the webhook secret for a workflow.

 This operation is audited for security purposes.

 Use this method to:
 - Retrieve webhook secret for configuration
 - Set up webhook integrations
 - Verify webhook signatures

 ### Examples

 - Get webhook secret:

   Retrieves the webhook secret for a workflow.

   ```yaml
   workflowId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047"
   ```

## Request body

- GitpodV1GetWorkflowWebhookSecretRequest — GetWorkflowWebhookSecretRequest retrieves the webhook secret for a workflow.
  - `workflowId` string, uuid

## Response `200`

Success

- GitpodV1GetWorkflowWebhookSecretResponse
  - `secret` string — The decrypted webhook secret

## Other responses

- `default` — Error

---

[API](https://skmtc.net/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.net/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/44d50c2ac284/schema)
