Webhook endpoints
Create a new secret
Replace the signing secret without downtime.
Both secrets sign messages for 24 hours, so you have time to update your server.
Authentication
A signed-in session: the cookie from Log in. Changes also need the X-CSRF-Token header.
Path parameters
idstringrequiredThe endpoint's ID.
Response
200 OK
secretstringThe new signing secret.
previous_secret_expires_atstringWhen the old one stops working.
noticestringA reminder to update your server.
Errors
| Status | Code | What to do |
|---|---|---|
| 401 | unauthenticated | Log in first, or log in again. |
| 403 | csrf_failed | Send the csrf_token as X-CSRF-Token. |
| 404 | not_found | Check the ID. It may belong to another workspace. |