update_token
Modify Webhook.site token settings like CORS, alias, expiry, response status/content, request limits, and actions to tailor webhook behavior.
Instructions
Update settings of a Webhook.site token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cors | No | If true, adds CORS headers to responses | |
| alias | No | Sets a custom alias (regex: [a-zA-Z0-9-_]{3,32}) | |
| expiry | No | Seconds until the token auto-expires (max/default: 604800, i.e. 1 week) | |
| listen | No | Seconds to listen for response from "Set Response" endpoint (max: 10) | |
| actions | No | Enables or disables Custom Actions for the token | |
| api_key | No | Optional Webhook.site API key (or use WEBHOOK_SITE_API_KEY env var) | |
| timeout | No | Seconds to sleep before returning the response (max: 30) | |
| token_id | No | The Webhook.site token UUID (or use WEBHOOK_SITE_TOKEN_ID env var) | |
| request_limit | No | Limits request history stored (0 to 10000; default: 10000) | |
| default_status | No | The default HTTP response status returned to requests (200-599) | |
| default_content | No | The default response body content | |
| default_content_type | No | The default response Content-Type (e.g. 'text/html', 'application/json') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||