Webhooks
Update Webhook
Changed onUpdate webhook.
put/webhooks/{webhook_id}
Request
- Base URLhttps://api.getpinwheel.com/v1
- AuthAPI key in header X-API-SECRET
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
webhook_idstring uuid required
UUID of the webhook.
Headers
Pinwheel-Version'2025-07-08' | '2023-11-22' | '2023-07-18' | '2023-04-18' | '2022-09-09' | '2022-06-22' | '2022-03-02' required
Version identifier specifying how the Pinwheel API should behave. See the Change Management page for more information.
Request body
Response
OK
Changes
- breaking
removed the enum value
paycheck_viewer.addedof the request property/ - info
removed the
paycheck_viewer.addedenum value from the//response property for the response status
- breaking