Webhooks
Create or replace your webhook
Changed onCreate your webhook, or replace its URL and types.
Creating it returns the signing secret, once. Replacing it keeps the secret, and resumes any disabled delivery from where it stopped, so nothing is skipped. To change the secret, rotate it.
put/webhook
Request
- Base URLhttps://api.treasuryspring.com/api/v1
- AuthHTTP bearer
Request body
Example request
{
"types": [
"EVENT"
],
"url": "https://example.com/webhooks/treasuryspring"
}Response
The webhook, with its signing secret if it was just created
Example response
{
"secret": "whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw",
"types": [
"EVENT"
],
"url": "https://example.com/webhooks"
}Changes
- info
endpoint added
- info