tmh, the TeachMeHIPAA CLI

tmh webhook-subscriptions create

Create a webhook subscription

Synopsis

Subscribes an HTTPS endpoint to event types and creates its signing secret. Requires the webhooks:manage or org:admin scope.

Scopes: org:admin or webhooks:manage

tmh webhook-subscriptions create [flags]

Options

  -d, --data stringArray                body field as key=value (dotted keys nest, key[]=v appends, key:=<json> sends JSON), or the whole body as @file, @- for stdin, or a JSON document; repeatable. Flags override -d fields, which override the document
      --description string              A description for your own reference.
      --endpoint-url string             The HTTPS URL to deliver events to. (required)
      --event-types strings             The event types to deliver; one of: enrollment.certified, seat.consumed, seat.freed, learner.invited, learner.started, learner.certified, learner.expiring, learner.expired, learner.removed, invite.bounced, certificate.revoked, seats.low (required)
  -h, --help                            help for create
      --seats-low-threshold seats.low   Send seats.low when available seats drop to this number. Defaults to 5.

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