HookSniff Elixir SDK

License

Elixir SDK for the HookSniff webhook delivery platform.

Installation

{ :hooksniff, "~> 1.0" }

Quick Start

client = HookSniff.new("hs_xxx")
{:ok, endpoints} = HookSniff.Endpoint.list(client)
IO.inspect(endpoints)

Webhook Verification

{:ok, payload} = HookSniff.Webhook.verify(body, headers, "whsec_xxx")

Resources

Resource Methods
Endpoint list, create, get, update, delete
Message create, list, get
MessageAttempt list, listByMsg, get, resend
Authentication dashboardAccess
EventType list
Statistics aggregate

Links