webhookEndpoint

open suspend fun webhookEndpoint(request: WebhookEndpointRequest, requestOptions: RequestOptions? = null): WebhookEndpoint

Create an endpoint; signingSecret is returned only here and during rotation.

Throws

when a custom client has not implemented this operation.


open suspend fun webhookEndpoint(id: String, requestOptions: RequestOptions? = null): WebhookEndpoint?

Retrieve endpoint configuration without returning its signing key.

Throws

when a custom client has not implemented this operation.