Memos unofficial
GET/api/v1/users/{user}/webhooks/{webhook}:getSigningSecret

Get a webhook signing secret

Retrieves the signing secret for a user's webhook through an explicit, owner-gated call. Use this operation when you need the secret; it is not included in webhook list, create, or update responses.

2 parameters
userstringrequired
The identifier of the user who owns the webhook.
webhookstringrequired
The identifier of the webhook whose signing secret to retrieve.

2 status codes
200Returns the webhook signing secret in the Standard Webhooks `whsec_<base64>` form.
signingSecretstringoptional
The signing secret, in the Standard Webhooks "whsec_<base64>" form.
defaultReturned when the request fails. The response contains a status code, a developer-facing message, and optional error details.
codeintegeroptional
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
messagestringoptional
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
detailsarray<object>optional
A list of messages that carry the error details. There is a common set of message types for APIs to use.

Error handling

The authenticated user must own the webhook whose secret is requested. The user and webhook path parameters must identify that user and webhook.