{"id":19030175,"url":"https://github.com/typesend/mailgun_webhook_auth","last_synced_at":"2025-10-06T01:43:53.606Z","repository":{"id":57519437,"uuid":"51716389","full_name":"typesend/mailgun_webhook_auth","owner":"typesend","description":"A Plug for validating Mailgun Webhook requests in Elixir applications","archived":false,"fork":false,"pushed_at":"2016-02-15T00:26:10.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-25T12:52:10.762Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/typesend.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}},"created_at":"2016-02-14T22:04:01.000Z","updated_at":"2017-08-15T13:01:11.000Z","dependencies_parsed_at":"2022-08-29T23:41:16.576Z","dependency_job_id":null,"html_url":"https://github.com/typesend/mailgun_webhook_auth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/typesend/mailgun_webhook_auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typesend%2Fmailgun_webhook_auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typesend%2Fmailgun_webhook_auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typesend%2Fmailgun_webhook_auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typesend%2Fmailgun_webhook_auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typesend","download_url":"https://codeload.github.com/typesend/mailgun_webhook_auth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typesend%2Fmailgun_webhook_auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278547873,"owners_count":26004773,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"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":[],"created_at":"2024-11-08T21:16:48.158Z","updated_at":"2025-10-06T01:43:53.578Z","avatar_url":"https://github.com/typesend.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MailgunWebhookAuth\n\nThis is a Plug module for validating Mailgun Webhook requests in Elixir applications.\n\nA 403 Unauthorized Webhook Request response is returned for all invalid requests. All other requests pass through unmodified.\n\n## Installation\n\nAdd `mailgun_webhook_auth` to the `deps` function in your project's `mix.exs` file:\n\n```elixir\ndefp deps do\n  [{:mailgun_webhook_auth, \"~\u003e 1.0\"}]\nend\n```\n\t\nThen run `mix do deps.get, deps.compile` inside your project's directory.\n\n## Usage\n\nRecommended usage is within a pipeline, but it may be used within your Phoenix controllers; anywhere a Plug can be used.\n\nIt expects your private mailgun API token String to be passed at initialization.\n\n#### Example Phoenix.Router\n\n```elixir\n\npipeline :webhooks do\n\tplug MailgunWebhookAuth,\n\t\t\t\tapi_token: Application.get_env(:your_application, :mailgun_key)\nend\n\nscope \"/webhooks\", YourApplication do\n  pipe_through :webhooks\n\t\n\tpost \"/received\", WebhookController, :received\n\tpost \"/delivered\", WebhookController, :delivered\n\tpost \"/dropped\", WebhookController, :dropped\n\tpost \"/bounced\", WebhookController, :bounced\n\tpost \"/complaints\", WebhookController, :complaints\n\tpost \"/unsubscribes\", WebhookController, :unsubscribes\n\tpost \"/clicks\", WebhookController, :clicks\n\tpost \"/opens\", WebhookController, :opens\nend\n\n```\n\n#### Example Mix.Config\n\n```elixir\n\nconfig :your_application, mailgun_key: \"key-BLAHBLAHBLAH\"\n\t\n```\n\n## Mailgun Documentation\n\nSee the Mailgun [Routes documentation](https://documentation.mailgun.com/user_manual.html#receiving-messages-via-http-through-a-forward-action) for more information.\n\n## License\n\nMailgunWebhookAuth uses the same Apache 2 license as Plug and the Elixir programming language. See the [license file](https://raw.githubusercontent.com/typesend/mailgun_webhook_auth/master/LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypesend%2Fmailgun_webhook_auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypesend%2Fmailgun_webhook_auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypesend%2Fmailgun_webhook_auth/lists"}