An event from a Whop channel's webhook
An event from a Whop channel's webhook (someone joined the business, a membership started)
Every request sends Authorization: Bearer ...: the access token in local mode, an API key stk_... in cloud mode. Use Send to try it against your cloud instance with your API key.
Each connected Whop channel gets its own webhook on Whop, made by staqly (the channel's API key needs
developer:manage_webhook and webhook_receive:memberships), at <api>/v1/whop/webhook/<channel id>. Signed
with that webhook's secret (Standard Webhooks: webhook-id, webhook-timestamp, webhook-signature); a call
more than 5 minutes off is refused and each webhook-id is handled once. member.created and
membership.activated count in the analytics' audience. A channel the server doesn't have answers 410.
channel*stringwebhook-id*stringwebhook-timestamp*stringwebhook-signature*stringapplication/json- body
[key: string]?anyOK
application/json- response
handled*integerChannels the event counted on
curl -X POST 'https://staqly.example.com/v1/whop/webhook/string' \ -H 'webhook-id: string' \ -H 'webhook-timestamp: string' \ -H 'webhook-signature: string' \ -H 'Content-Type: application/json' \ -d '{}'{ "handled": 0}