{"id":35205599,"url":"https://github.com/webhookrelay/webhookrelay-go","last_synced_at":"2026-04-07T13:31:57.170Z","repository":{"id":56305249,"uuid":"270954503","full_name":"webhookrelay/webhookrelay-go","owner":"webhookrelay","description":"Go library for the Webhook Relay v1 API ","archived":false,"fork":false,"pushed_at":"2025-12-29T11:19:08.000Z","size":161,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-01T11:09:13.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://webhookrelay.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webhookrelay.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":"2020-06-09T09:07:52.000Z","updated_at":"2025-12-29T11:17:25.000Z","dependencies_parsed_at":"2022-08-15T16:20:38.442Z","dependency_job_id":null,"html_url":"https://github.com/webhookrelay/webhookrelay-go","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/webhookrelay/webhookrelay-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webhookrelay%2Fwebhookrelay-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webhookrelay%2Fwebhookrelay-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webhookrelay%2Fwebhookrelay-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webhookrelay%2Fwebhookrelay-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webhookrelay","download_url":"https://codeload.github.com/webhookrelay/webhookrelay-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webhookrelay%2Fwebhookrelay-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31515144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-12-29T13:45:24.487Z","updated_at":"2026-04-07T13:31:57.156Z","avatar_url":"https://github.com/webhookrelay.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webhook Relay API Go client\n\n[![GoDoc](https://img.shields.io/badge/godoc-reference-5673AF.svg?style=flat-square)](https://godoc.org/github.com/webhookrelay/webhookrelay-go)\n\n\u003e This library is currently actively developed so the API might change a little bit.\n\n## Installation\n\nYou need a working [Go](https://golang.org/) environment. \n\n```shell\ngo get github.com/webhookrelay/webhookrelay-go\n```\n\n## Authentication\n\nTo authenticate, you will need to first get an API token key \u0026 secret pair [here](https://my.webhookrelay.com/tokens).\n\n## Usage\n\n```golang\npackage main\n\nimport (\n\t\"fmt\"\n\t\"log\"\n\t\"os\"\n\n\t\"github.com/webhookrelay/webhookrelay-go\"\n)\n\nfunc main() {\n\t// Construct a new Webhook Relay API object to perform requests\n\tapi, err := webhookrelay.New(os.Getenv(\"RELAY_KEY\"), os.Getenv(\"RELAY_SECRET\"))\n\tif err != nil {\n\t\tlog.Fatal(err)\n  }\n  \n  bucket, err := api.CreateBucket(\u0026webhookrelay.BucketCreateOptions{\n    Name: \"sendgrid-to-segment\",\n  })\n  if err != nil {\n\t\tlog.Fatal(err)\n  }\n  // all buckets get a default input that you can use to receive webhooks, \n  // it can either be used with custom domain + path prefix (https://xxx.hooks.webhookrelay.com) \n  // or input ID such as https://my.webhookrelay.com/v1/webhooks/xxx\n  fmt.Println(bucket.Inputs[0].EndpointURL()) \n\n  // Create a webhook forwarding destination for this webhook\n  _, err = api.CreateOutput(\u0026webhookrelay.Output{\n    BucketID: bucket.ID,\n    Name: \"segment\",\n    Destination: \"https://webhooks.segment.com?b=yyyy\",\n  })\n  if err != nil {\n\t\tlog.Fatal(err)\n  }\n\n  // list all buckets\n  buckets, err := api.ListBuckets(\u0026webhookrelay.BucketListOptions{})\n  if err != nil {\n\t\tlog.Fatal(err)\n  }\n  fmt.Println(buckets) // print buckets\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebhookrelay%2Fwebhookrelay-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebhookrelay%2Fwebhookrelay-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebhookrelay%2Fwebhookrelay-go/lists"}