create_token
Create a new Webhook.site token to get a unique URL or email address for capturing and inspecting webhook requests, with options for custom responses, aliases, and expiration.
Instructions
Create a new Webhook.site token (URL / email address container).
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) | |
| clone_from | No | Token UUID to clone settings from | |
| 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 | |||