Get a webhook signing secret
Returns the endpoint's current signing secret and when a rotated-out secret stops verifying. It needs the same permission as rotating the secret.
GET
Returns the endpoint's current signing secret and when a rotated-out secret stops verifying. It needs the same permission as rotating the secret.
apiKeyheader
x-api-key<token>id*stringMatch
^wep_[0-9a-hjkmnp-tv-z]{16,24}$WebhookSigningSecret
application/json- response
secret*stringcreatedAt*stringpreviousExpiresAt*string|nullimport { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.webhooks.getSecret({ "id": "example"});Example Response
{ "secret": "string", "createdAt": "string", "previousExpiresAt": "string"}Related documentation
List webhook delivery logs
Returns a webhook endpoint's deliveries, newest first, each naming the event type and time it was made for, with its nested attempt diagnostics.
Get webhook delivery statistics
Get webhook delivery statistics. View request and response details for this Samva email API endpoint.