Skip to content

Commit 0ad4aba

Browse files
authored
Add frame notification rate limits (base#386)
<!-- start pr-codex --> ## PR-Codex overview This PR updates the documentation for `notifications_webhooks` to include specific rate limits enforced by Warpcast for sending notifications. ### Detailed summary - Added specific rate limits for `token`: - 1 notification per 30 seconds per `token` - 100 notifications per day per `token` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 2b2d07d commit 0ad4aba

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/developers/frames/v2/notifications_webhooks.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,10 @@ The request is a JSON consisting of:
143143
- `targetUrl`: the target frame URL to open when a user clicks the notification. It must match the domain for which the notification token was issued. Max 256 characters.
144144
- `tokens`: an array of tokens (for that `url`) to send the notification to. Max 100 per call.
145145

146-
Note that client servers may impose rate limits per `token`.
146+
Note that client servers may impose rate limits per `token`. Warpcast enforces the following rate limits:
147+
148+
- 1 notification per 30 seconds per `token`
149+
- 100 notifications per day per `token`
147150

148151
The response from the client server must be an HTTP 200 OK, with a `result` object that contains 3 arrays:
149152

0 commit comments

Comments
 (0)