For the complete documentation index, see llms.txt. This page is also available as Markdown.

Webhooks (API)

Send real-time Anedot webhook events for submissions, donations, and commitments to your endpoint, including objects, payloads, signatures, and field mapping.

For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs; this page is available as Markdown.

Webhooks (API)

Anedot’s Webhooks feature allows you to send real-time updates from Action Page Submissions, Donations, and Commitments to other applications whenever data changes in your Anedot fundraising account.

Why Use Webhooks?

Webhooks are designed to notify external systems of updates in Anedot, enabling your application to react immediately to new submissions or state changes (e.g., donations, commitments). This supports real-time automation such as syncing data or triggering workflows.

You will need to provide an endpoint URL where Anedot can send POST JSON requests. These requests are signed for security.

Signature Verification Each webhook request includes a SHA-256 HMAC hexdigest signature using the webhook’s secret token and request body. This value is included in the X-Request-Signature header and can be used to verify the authenticity of the request.

Webhook Objects

Webhooks — Submission, Donation, Commitment, and Product object relationships

Anedot sends structured webhook objects representing your fundraising activity:

  • Submission – Contains lead information and one or more linked donation entries.

  • Donation – Details of a gift, recurring payment, or hosted donation.

  • Commitment – A scheduled or future commitment from a donor.

  • Product – Describes an optional product associated with the donation or submission.

Setup Instructions

Follow these steps to configure webhooks in Anedot:

  1. Select the Action Pages you want to include (default includes all).

  2. (Optional) Add Action Pages to exclude using comma-separated IDs.

  3. (Optional) Limit by Team to only sync data related to a specific team.

  4. Enter a Webhook Name for internal reference.

  5. Input your Webhook URL (must be HTTPS).

  6. (Optional) Add a custom template for payload structure.

  7. Enable the integration and select webhook events.

  8. Save your settings — you're all set!

Tip: We recommend setting up separate webhooks for submission and donation events for improved performance and clarity.

Data Relays

  • Webhooks support both financial and non-financial Action Pages.

  • We recommend using separate relays for Submission and Donation Events.

  • Custom fields are included in payloads when submission data is available.

  • Failed Relays: The webhook will automatically stop sending requests after 1000 failed attempts or errors.

  • Push Unsent: Allows you to resend unsent or failed donation events within a specified date range across all Action Pages.Data can only be resent for events from the past year.

Field Mapping

Webhook field names can be customized. Below are the default mappings from Anedot templates:

Anedot Field
Webhook Field
Anedot Event(s)

account_name

account_name

donation, submission

account_uid

account_uid

donation, submission

action_page_id

action_page_id

donation, submission, commitment

action_page_name

action_page_name

donation, submission, commitment

address_city

address_city

donation, submission, commitment

address_country

address_country

donation, submission, commitment

address_line_1

address_line_1

donation, submission, commitment

address_line_2

address_line_2

donation, submission, commitment

address_postal_code

address_postal_code

donation, submission, commitment

address_region

address_region

donation, submission, commitment

amount_in_dollars

amount_in_dollars

donation

cancellation_reason

cancellation_reason

commitment

cancelled_on

cancelled_on

commitment

card_expiration

card_expiration

submission

card_last_digits

card_last_digits

submission

card_type

card_type

submission

changed_attributes [object, includes: paused_on, updated_at, frequency, address_line_1, address_line_2, address_city, address_region, address_postal_code]

changed_attributes [object, multiple values]

commitment ( source )

check_number

check_number

donation

commitment_recurring_until

commitment_recurring_until

donation

commitment_uid

commitment_uid

donation

communications_consent_email

communications_consent_email

donation, submission, commitment

communications_consent_phone

communications_consent_phone

donation, submission, commitment

created_at

created_at

donation, submission, commitment

currently_employed

currently_employed

donation, submission, commitment

custom_field_responses [object, includes: custom field label, custom field response value]

custom_field_responses [object, multiple values]

donation, submission

date

date

donation

donation_amount

donation_amount

submission

donation [object, includes: id, fees (anedot, vendor), fund (id, name, identifier), product (name, internal identifier), card (type, last digits), donation_project, credit_card_expiration]

donation [object, multiple values]

donation

donations [object, includes: id, fees (anedot, vendor), fund (id, name, identifier), product (id, code, name, value), net amount, gross amount, fees_paid_by_donor]

donations [object, multiple values]

submission

donor_profile_id

donor_profile_id

donation, submission, commitment

email

email

donation, submission, commitment

employer_name

employer_name

donation, submission, commitment

eventamount

eventamount

donation

first_name

first_name

donation, submission, commitment

frequency

frequency

donation, commitment

fund_allocations [object, includes: id, name, identifier, amount_in_dollars]

fund_allocations [object, multiple values]

commitment

id

id

submission, commitment

ip_address

ip_address

donation, submission, commitment

is_recurring_commitment

is_recurring_commitment

donation

last_name

last_name

donation, submission, commitment

middle_name

middle_name

donation, submission, commitment

name

name

donation

net_amount

net_amount

donation

next_capture_on

next_capture_on

commitment

occupation

occupation

donation, submission, commitment

Organization/Business Name

organization

donation, submission

origin

origin

donation

payment_description

payment_description

donation

payment_method_id

payment_method_id

donation, commitment

payment_method_type

payment_method_type

submission

payment_status_message

payment_status_message

commitment

phone

phone

donation, submission, commitment

pledge (no corresponding Anedot submission field)

pledge (boolean - true/false)

submission

captured_at

pledge_capture_date

submission

product_code

product_code

submission

product_id

product_id

submission

product_name

product_name

submission

product_value

product_value

submission

recurring

recurring

donation

referrer_to_form

referrer_to_form

donation, submission, commitment

referrer

referrer

donation, submission, commitment

source_code

source_code

donation, submission

source

source

donation

status

status

donation

submission_id

submission_id

donation, commitment

suffix

suffix

donation, submission, commitment

title

title

donation, submission, commitment

token

token

commitment

total_amount_in_dollars

total_amount_in_dollars

commitment

updated_at

updated_at

donation, submission, commitment

utm_campaign

utm_campaign

donation, submission

utm_content

utm_content

donation, submission

utm_medium

utm_medium

donation, submission

utm_source

utm_source

donation, submission

utm_term

utm_term

donation, submission

whodunnit

whodunnit

commitment

Webhook Events

When you subscribe to multiple object types on a single webhook, Anedot will trigger the webhook separately for each object. For example, if a submission includes a donation, the webhook will fire twice—once with the Submission payload and once with the Donation payload.

Setting Name
event
Description

Commitment Created

commitment_created

A new recurring commitment was created

Commitment Failed To Process

commitment_failed_to_process

A recurrence of a commitment failed to charge the donor an automated donation

Commitment Updated

commitment_updated

Changes were made to commitment, name, address, amount, or schedule frequency, or commitment canceled

Donation ACH Returned

donation_ach_returned

Check return

Donation Chargeback

donation_chargeback

Check chargeback

Donation Chargeback Reversed

donation_chargeback_reversed

Chargeback reversed

Donation Completed

donation_completed

Successful donation from a submission or commitment

Donation Partially Refunded

donation_partially_refunded

Refund less than the full donation amount

Donation Refunded

donation_refunded

Full refund, with or without fees

Donation Voided

donation_voided

Donation void occurred, no charge was made

Submission Created

submission_created

A new submission was created

Donation Settled

settlement_date

Associated settlement was completed

Payload Message Examples

attribute examples
format
example value

submission_id

uuid

f42e7e4f-c93d-4956-a5a2-efab4eef4558

event_date

ISO UTC date

2020-12-11 22:06:26 UTC

net_amount

decimal money as string

23.70

Donation Created via Donation Page

amount_in_dollars
full amount of donation or payment

net_amount

payment minus fees

commitment_uid

if present associated commitment

origin

hosted if via form, recurring if via commitment schedule

custom_field_responses

example radio custom field

products → internal_identifier

Product id or SKU created via Action Pages → Products

created_at

Original submission date (UTC)

updated_at

Any subsequent changes to a message payload (UTC)

Other Commitment Attributes of Interest

attribute
value
explanation

cancellation_reason

failure

When a commitment is canceled because of multiple declines

account_cancellation

Indicates that an account admin canceled a commitment

schedule

Indicates that the commitment had a set expiration date that passed

nil

Indicates that an Anedot staff member canceled a commitment at a donor's request

donor

Indicates that the donor canceled their commitment.

whodunnit

email of user

Indicates the user that made a change to the commitment. Nil if changed internally by Anedot.

payment_status_message

varies

Relays a value from the payment provider first-time payment is declined on a recurring.

Action Page Webhook Templates

Although the Submissions, Donations, and Commitments templates share some common fields, each has a unique structure.

To avoid processing issues, we recommend not subscribing to multiple template types on a single webhook.

Instead, create a separate webhook for each template type—one for Submissions, one for Donations, one for Commitments, and so on.

Submission Template

Donation Template

Commitment Template

Payload Data

Request Headers

Request Body (Submission Created)

Request Body (Submission Pledged)

Request Body (Commitment Created)

Request Body (Commitment Failed)

Request Body (Commitment Updated)

Request Body (Donation Completed)

Request Body (Donation ACH Returned)

Request Body (Donation Chargeback)

Request Body (Donation Chargeback Reversed)

Request Body (Donation Partially Refunded)

Request Body (Donation Refunded)

Request Body (Donation Settled)

Request Body (Donation Voided)


Agent Instructions

This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the ask query parameter, and the optional goal query parameter:

ask is the immediate question: it should be specific, self-contained, and written in natural language. goal is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.

Was this helpful?