tmh, the TeachMeHIPAA CLI

tmh webhook-subscriptions test

Send a test event

Synopsis

Sends a signed test delivery to the subscription’s endpoint, so you can check your verifier. Requires the webhooks:manage or org:admin scope.

–wait polls the Operation until it is done (up to –wait-timeout) and prints it; if it failed, tmh prints its problem and exits as its HTTP status would, or 7 without one.

Scopes: org:admin or webhooks:manage

tmh webhook-subscriptions test <subscriptionId> [flags]

Options

  -h, --help                    help for test
      --wait                    wait until the Operation is done and print it; a failed Operation exits as its HTTP status would
      --wait-timeout duration   how long --wait waits before giving up (default 5m0s)

Options inherited from parent commands

      --idempotency-key string   Idempotency-Key for the write, instead of a generated one
      --live                     use the "live" profile
      --max-retries int          times to retry a transient failure of a request that is safe to replay (default 2)
      --profile string           profile to use: "sandbox" (default) or "live"
      --show-headers             print each HTTP response's status and headers to stderr
      --verbose                  print method, path, status, latency and request id of each HTTP attempt to stderr

SEE ALSO