Skip to content

Commit 2a31f11

Browse files
committed
Update docs
1 parent 9391125 commit 2a31f11

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

docs/api/action-types.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,9 @@ The following is a list of the API names for Action Types, along with a list of
364364
### `stop`
365365
*No parameters for `stop`.*
366366

367+
### `sleep`
368+
- `delay`: **required**, string
369+
367370
### `store_global_variable`
368371
- `name`: **required**, string
369372
- `value`: nullable, string

docs/custom-actions/action-types.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,13 @@ If the IP is rate limited, the URL will respond with a `HTTP 429`, action execut
489489

490490
Immediately stops Custom Action execution and returns the default response.
491491

492+
### Sleep
493+
494+
Sleeps or pauses action execution for the specified amount of seconds. Decimals allowed. Maximum 30 seconds.
495+
496+
!!! warning
497+
Like the Timeout option for Tokens, this action has a dynamic rate limit of `100 ÷ delay` requests per minute, e.g. a delay of 30 allows for 3 requests per minute, and 1 second allows for 100 requests per minute. If the rate limit is met, Sleep has no effect. This is to prevent abuse. If you can, we recommend using the [Queue option](/custom-actions.html#queued-actions).
498+
492499
### Basic Auth
493500

494501
With this action, the URL is protected with Basic Authentication. If the username and password combination is wrong, the request is automatically marked as *Don't Save*, action execution is stopped, and the response status is HTTP 401. The action has no effect for emails or DNSHooks.

docs/news.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ Subscribe below to receive updates about improvements and new features on Webhoo
2424
</form>
2525
</div>
2626

27+
## 23 January 2026
28+
29+
* Added Sleep action. [More info here](/custom-actions/action-types.html#sleep)
30+
2731
## 22 January 2026
2832

2933
* For Webhook.site Enterprise subscribers, the maximum timeout for [Queued Actions](/custom-actions.html#queued-actions) has been raised to 300 seconds.

0 commit comments

Comments
 (0)