resend-cli 2.20.0 → 2.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -473,7 +473,7 @@ resend webhooks list --after wh_abc123 --json
|
|
|
473
473
|
|
|
474
474
|
Registers a new endpoint.
|
|
475
475
|
|
|
476
|
-
The endpoint must use **HTTPS**.
|
|
476
|
+
The endpoint must use **HTTPS**. Use the **`signing_secret`** in the response to verify incoming payloads. `resend webhooks get` returns it again.
|
|
477
477
|
|
|
478
478
|
In interactive mode, the CLI can prompt for endpoint and events. In non-interactive mode (pipes, CI, `--json`), **`--endpoint` and `--events` are required.**
|
|
479
479
|
|
|
@@ -499,7 +499,7 @@ resend webhooks get wh_abc123
|
|
|
499
499
|
resend webhooks get wh_abc123 --json
|
|
500
500
|
```
|
|
501
501
|
|
|
502
|
-
The
|
|
502
|
+
The response includes the signing secret. Use `resend webhooks rotate-signing-secret <id>` to replace it.
|
|
503
503
|
|
|
504
504
|
#### **`resend webhooks update`**
|
|
505
505
|
|
|
@@ -539,7 +539,7 @@ To pause delivery temporarily, prefer `resend webhooks update <id> --status disa
|
|
|
539
539
|
|
|
540
540
|
#### **`resend webhooks rotate-signing-secret`**
|
|
541
541
|
|
|
542
|
-
Generates a new signing secret for the webhook and returns it. For 24 hours, payloads are signed with both the new and the previous secret, so either one verifies them. After that, only the new secret does.
|
|
542
|
+
Generates a new signing secret for the webhook and returns it. For 24 hours, payloads are signed with both the new and the previous secret, so either one verifies them. After that, only the new secret does.
|
|
543
543
|
|
|
544
544
|
Omit the ID in a terminal to pick from a list.
|
|
545
545
|
|