Webhook Endpoints
Rotate the signing secret
Changed onReturns a new signing secret (shown once). The previous secret keeps signing for a 24h overlap window, so deliveries carry a v1 for both; verify against either. Returns 403 manage_endpoints_on_live_api on the sandbox API; use the live API.
post/webhook_endpoints/{external_id}/rotate_secret
Request
- Base URL: https://api.wefunder.com
- URL: https://api.wefunder.com/webhook_endpoints/{external_id}/rotate_secret
- Auth: OAuth 2 (authorization code, authorization URL https://wefunder.com/oauth/authorize, token URL https://api.wefunder.com/oauth/token; client credentials, token URL https://api.wefunder.com/oauth/token, scopes: write:webhooks)
Path parameters
external_idstring required
The webhook endpoint's id (whe_...).
Response
Rotated (includes the new one-time secret)
Example response
{
"data": {
"id": "whe_8f3ExampleEndpoint00",
"type": "webhook_endpoint",
"attributes": {
"last_delivery_status": "200"
}
}
}Changes
- info
endpoint added
- info