Incoming webhooks

  1. In OptinFlare › Webhooks, open Incoming Webhooks and click Add Webhook.
  2. Copy the Webhook URL and the Webhook Secret.
  3. Choose the Actions to Execute: Run form actions (subscription, email and webhook), Publish form or Unpublish form. Leave it empty to only trigger the optinflare_webhook_received hook.

Run form actions

Select a published form: OptinFlare runs its submission actions with the contact sent by the service, and keeps the double opt-in settings of the form. Send email, first_name, last_name and custom_fields, or use Field mapping with dot paths such as contact.email. The sender can’t choose another form, and the request doesn’t count as a visitor submission. With a GDPR profile, the request must also carry consent fields: see Consent API.

Security and limits

Keep Require Signature on: the sender must sign the raw body with HMAC-SHA256 and the secret, in X-Webhook-Signature, X-OptinFlare-Signature or X-Hub-Signature-256. Payloads are limited to 1 MB and 60 requests per minute per endpoint. Webhook logs keeps the last 100 incoming requests and outgoing attempts, without payloads or secrets.

Last update