frex v0.1.2 Frex.Client.Webhooks

Client module for interacting with the Freshbooks webhooks endpoint.

Summary

Functions

create(credentials, event, uri)

Creates a new webhook.

Parameters

  • event (required) — event that the webhook sends on
  • uri (required) — URI that the webhook sends to
verify(credentials, callback_id, verifier)

Verifies a webhook.

Parameters

  • callback_id (required)
  • verifier (required) — verifier hash (provided by the initial create request)