Skip to main content
POST
/
v1
/
endpoints
/
{endpointId}
/
provider-secrets
Add a provider signing/verification secret to an endpoint
curl --request POST \
  --url https://api.webhook.co/v1/endpoints/{endpointId}/provider-secrets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "secret": "<string>",
  "label": "<string>",
  "kind": "signing_secret"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

A whk_-prefixed API key (opaque; not a JWT).

Path Parameters

endpointId
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Body

application/json

The server additionally validates the secret shape per provider (e.g. a Standard-Webhooks secret must be base64 key material); a malformed value is rejected with 400 VALIDATION_ERROR.

provider
enum<string>
required
Available options:
stripe,
github,
shopify,
slack,
standard_webhooks,
clerk,
resend,
stytch,
supabase,
render,
brex,
openai,
replicate,
polar,
gemini,
incident_io,
etsy,
vanta,
pusher,
quickbooks,
chargify,
launchdarkly,
modern_treasury,
autodesk_aps,
mongodb_atlas,
xero,
segment,
aftership,
onfleet,
webflow,
klaviyo,
mux,
shippo,
buildkite,
ms_teams,
ably,
squarespace,
nylas,
linkedin,
tiktok,
airship,
lob,
persona,
bolt,
primer,
airwallex,
affirm,
keygen,
constant_contact,
telegram,
mixpanel,
new_relic,
fillout,
zapier,
tally,
loops,
customer_io,
framer,
box,
configcat,
ashby,
merge_dev,
cronofy,
increase,
finch,
knock,
deel,
razorpay,
sentry,
linear,
dropbox,
checkout_com,
lemon_squeezy,
coinbase_commerce,
dwolla,
gocardless,
notion,
meta,
woocommerce,
bitbucket,
atlassian_jira,
x,
clickup,
npm,
heroku,
dub,
cal_com,
asana,
circleci,
pagerduty,
airtable,
calendly,
zoom,
customerio,
sinch,
workos,
front,
zendesk,
twitch,
paddle,
recurly,
docusign,
vercel,
intercom,
paystack,
authorize_net,
sanity,
square,
trello,
twilio,
mandrill,
hubspot,
adyen,
mailgun,
mercado_pago,
braintree,
contentful,
plivo,
typeform,
messagebird,
netlify,
vonage,
monday,
jira_connect,
discord,
telnyx,
sendgrid,
wise,
kinde,
paypal,
aws_sns,
plaid,
ebay,
gitlab,
microsoft_graph,
chargebee,
postmark,
sparkpost,
okta,
bigcommerce,
datadog,
brevo
secret
string
required
Required string length: 1 - 4096
label
string
Required string length: 1 - 200
kind
enum<string>
default:signing_secret
Available options:
signing_secret,
verify_token,
braintree_public_key

Response

Success.

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
provider
enum<string>
required
Available options:
stripe,
github,
shopify,
slack,
standard_webhooks,
clerk,
resend,
stytch,
supabase,
render,
brex,
openai,
replicate,
polar,
gemini,
incident_io,
etsy,
vanta,
pusher,
quickbooks,
chargify,
launchdarkly,
modern_treasury,
autodesk_aps,
mongodb_atlas,
xero,
segment,
aftership,
onfleet,
webflow,
klaviyo,
mux,
shippo,
buildkite,
ms_teams,
ably,
squarespace,
nylas,
linkedin,
tiktok,
airship,
lob,
persona,
bolt,
primer,
airwallex,
affirm,
keygen,
constant_contact,
telegram,
mixpanel,
new_relic,
fillout,
zapier,
tally,
loops,
customer_io,
framer,
box,
configcat,
ashby,
merge_dev,
cronofy,
increase,
finch,
knock,
deel,
razorpay,
sentry,
linear,
dropbox,
checkout_com,
lemon_squeezy,
coinbase_commerce,
dwolla,
gocardless,
notion,
meta,
woocommerce,
bitbucket,
atlassian_jira,
x,
clickup,
npm,
heroku,
dub,
cal_com,
asana,
circleci,
pagerduty,
airtable,
calendly,
zoom,
customerio,
sinch,
workos,
front,
zendesk,
twitch,
paddle,
recurly,
docusign,
vercel,
intercom,
paystack,
authorize_net,
sanity,
square,
trello,
twilio,
mandrill,
hubspot,
adyen,
mailgun,
mercado_pago,
braintree,
contentful,
plivo,
typeform,
messagebird,
netlify,
vonage,
monday,
jira_connect,
discord,
telnyx,
sendgrid,
wise,
kinde,
paypal,
aws_sns,
plaid,
ebay,
gitlab,
microsoft_graph,
chargebee,
postmark,
sparkpost,
okta,
bigcommerce,
datadog,
brevo
status
enum<string>
required
Available options:
active,
retiring,
revoked