{"id":15792652,"url":"https://github.com/grokify/rchooks","last_synced_at":"2026-05-30T21:31:43.146Z","repository":{"id":33827944,"uuid":"134028172","full_name":"grokify/rchooks","owner":"grokify","description":"Tools to manage RingCentral webhooks including CLI app Keepalive Lambda function","archived":false,"fork":false,"pushed_at":"2026-04-27T00:37:16.000Z","size":468,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-27T02:31:40.293Z","etag":null,"topics":["cli-utilities","cli-utility","glip","glip-webhook","ringcentral"],"latest_commit_sha":null,"homepage":"https://developers.ringcentral.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grokify.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-05-19T04:04:58.000Z","updated_at":"2026-04-27T00:37:12.000Z","dependencies_parsed_at":"2023-11-06T10:30:31.441Z","dependency_job_id":"33a37791-6b93-4de0-9b2d-10e0d390649e","html_url":"https://github.com/grokify/rchooks","commit_stats":null,"previous_names":["grokify/ringcentral-webhooks"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/grokify/rchooks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grokify%2Frchooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grokify%2Frchooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grokify%2Frchooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grokify%2Frchooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grokify","download_url":"https://codeload.github.com/grokify/rchooks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grokify%2Frchooks/sbom","scorecard":{"id":446129,"data":{"date":"2025-08-11","repo":{"name":"github.com/grokify/rchooks","commit":"713824d57e2faa7345143506801005db57937226"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/10 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":9,"reason":"11 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 9","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/grokify/rchooks/ci.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/grokify/rchooks/ci.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yaml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/grokify/rchooks/lint.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/lint.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/grokify/rchooks/lint.yaml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yaml:1","Warn: no topLevel permission defined: .github/workflows/lint.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 20 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T06:46:12.678Z","repository_id":33827944,"created_at":"2025-08-19T06:46:12.678Z","updated_at":"2025-08-19T06:46:12.678Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33711018,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli-utilities","cli-utility","glip","glip-webhook","ringcentral"],"created_at":"2024-10-04T23:02:37.644Z","updated_at":"2026-05-30T21:31:43.141Z","avatar_url":"https://github.com/grokify.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RCHooks - RingCentral Webhook Tools\n\n[![Go CI][go-ci-svg]][go-ci-url]\n[![Go Lint][go-lint-svg]][go-lint-url]\n[![Go SAST][go-sast-svg]][go-sast-url]\n[![Go Report Card][goreport-svg]][goreport-url]\n[![Docs][docs-godoc-svg]][docs-godoc-url]\n[![Visualization][viz-svg]][viz-url]\n[![License][license-svg]][license-url]\n\n [go-ci-svg]: https://github.com/grokify/rchooks/actions/workflows/go-ci.yaml/badge.svg?branch=main\n [go-ci-url]: https://github.com/grokify/rchooks/actions/workflows/go-ci.yaml\n [go-lint-svg]: https://github.com/grokify/rchooks/actions/workflows/go-lint.yaml/badge.svg?branch=main\n [go-lint-url]: https://github.com/grokify/rchooks/actions/workflows/go-lint.yaml\n [go-sast-svg]: https://github.com/grokify/rchooks/actions/workflows/go-sast-codeql.yaml/badge.svg?branch=main\n [go-sast-url]: https://github.com/grokify/rchooks/actions/workflows/go-sast-codeql.yaml\n [goreport-svg]: https://goreportcard.com/badge/github.com/grokify/rchooks\n [goreport-url]: https://goreportcard.com/report/github.com/grokify/rchooks\n [docs-godoc-svg]: https://pkg.go.dev/badge/github.com/grokify/rchooks\n [docs-godoc-url]: https://pkg.go.dev/github.com/grokify/rchooks\n [viz-svg]: https://img.shields.io/badge/visualizaton-Go-blue.svg\n [viz-url]: https://mango-dune-07a8b7110.1.azurestaticapps.net/?repo=grokify%2Frchooks\n [loc-svg]: https://tokei.rs/b1/github/grokify/rchooks\n [repo-url]: https://github.com/grokify/rchooks\n [license-svg]: https://img.shields.io/badge/license-MIT-blue.svg\n [license-url]: https://github.com/grokify/rchooks/blob/master/LICENSE\n\n`rchooks` is a toolset for creating, listing, recreating, and deleting RingCentral webhooks. It is especially useful in development when working with ngrok and when webhooks are blocked when test servers are taken down and non-responsive. It includes the following:\n\n* `rchooks` CLI app\n* `keepalive_lambda` AWS Lambda function to check and rebuild webhook when blacklisted\n* `rchooks` SDK package for utilities to build your own apps\n\nYouTube Tutorial Video: https://youtu.be/DYrzzJe8OyI\n\n## Apps\n\n### CLI App\n\n#### CLI Installation\n\n```\n$ go install github.com/grokify/rchooks/cmd/rchooks\n$ rchooks --env=/path/to/.env --list\n```\n\nPrior to Go 1.18, use `go get`:\n\n```\n$ go get github.com/grokify/rchooks/cmd/rchooks\n$ rchooks --env=/path/to/.env --list\n```\n\n#### CLI Usage\n\nBy default, `rchooks` looks for an environment file path specified by the `ENV_PATH` environment variable or a `.env` file in the current working directory. You can also explicitly specify a `.env` file with the `--env` path parameter.\n\n```\n$ rchooks --list\n$ rchooks --create=https://example.com/webhook\n$ rchooks --recreate=https://example.com/webhook\n$ rchooks --recreate=11112222-3333-4444-5555-66667777888\n$ rchooks --delete=https://example.com/webhook\n$ rchooks --delete=11112222-3333-4444-5555-66667777888\n```\n\nConfigure OAuth by setting the `oauth2more/credentials` file via `--creds` and the account via `--account`.\n\nSet the following enviroment variables:\n\n* `RINGCENTRAL_WEBHOOK_DEFINITION_JSON` - Create subscription JSON body\n\n##### Example Webhook Definition\n\nAn example value for `RINGCENTRAL_WEBHOOK_DEFINITION_JSON` can be the following. For a long lived webhook, use a value like `500000000` seconds which is equivalent to 15.85 years.\n\n```\n{\n  \"eventFilters\":[\n    \"/restapi/v1.0/glip/posts\",\n    \"/restapi/v1.0/glip/groups\",\n    \"/restapi/v1.0/account/~/extension/~/message-store/instant?type=SMS\"\n  ],\n  \"deliveryMode\":{\n    \"transportType\":\"WebHook\",\n    \"address\":\"https://12345678.execute-api.us-east-1.amazonaws.com/prod/webhook\"\n  },\n  \"expiresIn\":500000000\n }\n```\n\nCompact example:\n\n`{\"eventFilters\":[\"/restapi/v1.0/glip/posts\",\"/restapi/v1.0/glip/groups\",\"/restapi/v1.0/account/~/extension/~/message-store/instant?type=SMS\"],\"deliveryMode\":{\"transportType\":\"WebHook\",\"address\":\"https://12345678.execute-api.us-east-1.amazonaws.com/prod/webhook\"},\"expiresIn\":500000000}`\n\n### Keepalive Lambda Function\n\n#### Installation\n\nBuild the lambda function and then upload to AWS:\n\n```\n$ go get github.com/grokify/rchooks\n$ cd $GOPATH/src/github.com/grokify/rchooks/apps/keepalive_lambda\n$ sh build_lambda.sh\n```\n\nSet the following enviroment variables:\n\n* `RINGCENTRAL_TOKEN` - JSON string or simple access token string\n* `RINGCENTRAL_SERVER_URL`\n* `RINGCENTRAL_WEBHOOK_DEFINITION_JSON` - Create subscription JSON body\n\n## Notes\n\n### Blacklist Reasons\n\n* `I/O operation is failed. Details: [Read timed out]`\n* `Webhook response exceeds max size. Read bytes count: [1024]`\n* `Webhook responses with code: [404], reason: [Not Found]`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrokify%2Frchooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrokify%2Frchooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrokify%2Frchooks/lists"}