> For the complete documentation index, see [llms.txt](https://docs.anedot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.anedot.com/integrations/integration-automation-tools/webhooks.md).

# Webhooks (API)

Send Anedot submission, donation, and commitment events to your HTTPS endpoint. Set up, test, and verify webhooks, and see every field and example payload.

**Webhooks** send real-time HTTPS POST requests with JSON data to a URL you choose when submissions, donations, and commitments happen on your Action Pages. You set them up in **Settings > Integrations**. This article covers setup, testing, data relays, request signatures, events, custom templates, field mapping, and example payloads.

## Before You Begin

* To create, edit, test, push, or delete a webhook, you need **Integrations: Edit** permissions. Integrations: Edit also requires **Action Pages: View** and **Integrations: View** permissions. See [Permission Sets](https://docs.anedot.com/settings/access/permission-sets.md).
* To see your webhooks and their delivery history in [Integration Requests](https://docs.anedot.com/integrations/relay-data-troubleshooting/integration-requests.md), you need **Integrations: View** permissions.
* You need an endpoint URL that starts with `https://` and isn't on an Anedot domain. Your endpoint must accept a JSON POST request and respond within 60 seconds.
* If you plan to use a custom template, create a separate webhook for each record type (submissions, donations, and commitments). Each record type has its own fields.

## How Webhooks Work

Each webhook listens for the events you choose on the Action Pages it covers. When one of those events happens, Anedot sends a POST request to your **Webhook URL**. The request body always has two keys: `event`, the event name, and `payload`, the data for that record.

Webhooks send three types of records:

* **Submission:** A completed form on a Donation Page, Event Page, or Lead Page. A submission can include one or more donations.
* **Donation:** A single donation and each change to its status, such as a refund or chargeback.
* **Commitment:** A recurring donation schedule.

Product details aren't sent as their own event. They're included as fields in submission and donation payloads.

![Webhooks objects: how Submission, Donation, Commitment, and Product records relate](https://1576281756-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQuNikYKWprVDzRjF4GER%2Fuploads%2FpHvadRtcnFb7ihuDd6Tm%2Fwebhooks-objects.png?alt=media)

When a webhook listens for more than one record type, one donor action can send several requests. For example, a new monthly donation can send **Submission created**, **Donation completed**, and **Commitment created**, each as its own request.

## Connect Anedot to a Webhook

To create a webhook:

1. Go to **Settings > Integrations**.
2. Click **New integration**.
3. Select **Webhook**.
4. Under **Action Page scope**, choose which Action Pages the webhook covers.
   * **All Action Pages** is checked by default and includes pages you add later.
   * (Optional) To leave out some pages, enter their Action Page IDs in **Exclude Pages** as a comma-separated list with no spaces.
   * To cover only certain pages, uncheck **All Action Pages**, then select the pages under **Selected pages**.
5. (Optional) To limit the webhook to one team's pages, select it under **Team**. The default is **All teams**. See [Teams](https://docs.anedot.com/settings/access/teams.md).
6. Enter a **Name** for the webhook.
7. Enter your endpoint in **Webhook URL**.
8. Leave **Integration enabled** checked so the webhook starts sending right away.
9. (Optional) Enter a JSON **Template** to choose which fields are sent. If this field is empty, Anedot sends every field for the record type. See [Custom Templates](https://docs.anedot.com/integrations/integration-automation-tools/webhooks.md#custom-templates).
10. Choose the events to send. **Donation completed** is selected by default.
11. Click **Create integration**.

The webhook appears in your Integrations list with an **enabled** status, and Anedot starts sending the events you chose.

{% hint style="info" %}
If your Webhook URL includes query parameters, such as `?source=anedot`, Anedot keeps them on every request.
{% endhint %}

### Edit Or Pause a Webhook

To edit a webhook:

1. Go to **Settings > Integrations**.
2. In the webhook's row, click **Edit**.
3. Make your changes. To pause the webhook without deleting it, uncheck **Enabled**.
4. Click **Save integration**.

Your changes apply to events that happen after you save. Events that were already sent aren't sent again.

### Delete A Webhook

To delete a webhook:

1. Go to **Settings > Integrations**.
2. In the webhook's row, click **Delete**.
3. Click **OK** when asked "Delete this integration?"

Anedot stops sending to the webhook right away, including any failed events that were waiting to be retried.

## Test Your Webhook

Use **Test** to confirm your endpoint can receive and accept requests from Anedot.

To send a test:

1. Go to **Settings > Integrations**.
2. In the webhook's row, click **Test**.

Anedot sends one request for each record type the webhook listens for, using the event **Commitment created**, **Donation completed**, or **Submission created**. Each test uses the first matching record in your fundraising account, or built-in sample data if you don't have one yet. When every test request succeeds, you'll see "Test webhook sent."

{% hint style="info" %}
Test requests use the same headers and signature as live requests, with an `X-Request-Id` of `test-request-id`. They don't appear in Integration Requests.
{% endhint %}

## Data Relays

### Successful Deliveries

Anedot counts a request as delivered when your endpoint responds with any 2xx status code. A 3xx redirect response that includes a `Location` header also counts as delivered, but Anedot doesn't follow the redirect.

### Retries

If a request fails, Anedot retries the same event automatically. It waits 1 minute before the first retry, then 2 minutes, then 3 minutes, adding one minute each time, until the request succeeds or the webhook stops sending.

### When A Webhook Stops Sending

Anedot stops sending to a webhook after 1,000 failed attempts in a row. If your endpoint returns a 404 or can't be reached, the webhook stops after 10 failed attempts. Any successful delivery resets the count. The count also resets every Sunday at 1:00 AM Central Time for webhooks that are still sending.

When a webhook stops sending, Anedot emails Owners, Super Admins, Admins, and users who have **Integrations: Edit permissions**. This email doesn't depend on notification settings. The subject is "Anedot \[webhook name] Webhook Deactivated." The email names the webhook, your account, and your endpoint's host, and asks you to review the errors under **Integrations**. It also lists <help@anedot.com> if you need support. A stopped webhook can still show as enabled in your **Integrations** list, with **Enabled** checked.

To start a stopped webhook again, fix your endpoint first. Then go to **Settings > Integrations**, open the webhook, and click **Save integration**. You don't need to change the **Webhook URL** or **Template**. Saving the webhook starts it sending again. After that, use **Push unsent** to send the events you missed.

### Failure Emails

When your endpoint responds with an error, Anedot emails users on your account who have the **Integration sync failed** notification turned on. The subject is "Anedot \[webhook name] Webhook Failed." The email includes details about the failed request and your endpoint's response. This email is separate from the Webhook Deactivated email described above, and only users who have the notification turned on receive it. See [Notifications](https://docs.anedot.com/get-started/security/notifications.md).

### Push Unsent

Use **Push unsent** to send events your webhook missed, for example after an outage at your endpoint.

To push unsent events:

1. Go to **Settings > Integrations**.
2. In the webhook's row, click **Push unsent**.
3. Choose a **Start date** and **End date**. The range can be up to 31 days, and the start date can't be more than 12 months ago.
4. Click **Push unsent**.
5. Click **Push unsent** again to confirm.

Anedot checks records created in your date range, using UTC days:

* For **Submission created**, **Commitment created**, and **Donation completed**, Anedot sends each record created in the date range that doesn't have a successful delivery, including records that were never sent. Commitment created only includes active commitments.
* For all other events, Anedot sends the event again for each record that had a failed request in the date range, using the record's current data.

Pushed events can arrive out of order. After a push, wait about five minutes before starting another one.

## Verify Webhook Requests

Every request includes these headers:

| Header                | Value                                                          |
| --------------------- | -------------------------------------------------------------- |
| `User-Agent`          | `Anedot-Hookshot/` followed by a 7-character version code      |
| `X-Request-Id`        | A unique ID for this request                                   |
| `X-Request-Signature` | The HMAC-SHA256 signature of the request body, as a hex string |
| `X-Integration-Event` | The event name, such as `donation_completed`                   |
| `X-Integration-Id`    | The ID of the webhook that sent the request                    |

Anedot creates the signature from the exact request body using your account's secret token as the key. Your account has one secret token, and every webhook on your account uses it. See [Find Your Secret Token](https://docs.anedot.com/integrations/integration-automation-tools/webhooks.md#find-your-secret-token).

To verify a request:

1. Read the raw request body exactly as received, before parsing it.
2. Compute an HMAC-SHA256 hash of the body, using your account's secret token as the key.
3. Convert the result to a lowercase hex string.
4. Compare it to the `X-Request-Signature` header. If they match, the request came from Anedot.

## Find Your Secret Token

To locate the `secret_token` for your account:

1. Open your Anedot account **Dashboard**.
2. Right-click anywhere on the page and select **Inspect**.
3. Open the **Network** tab.
4. Select the request that matches your account UID.
5. Open the **Preview** or **Response** tab.
6. Press **Command+F** (**Ctrl+F** on Windows) and search for "secret" to find the `secret_token` value.

Use this value, not your account API key, to validate signatures.

## Webhook Events

| Event                          | Label in Anedot              | Sent when                                                                                                                        |
| ------------------------------ | ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| `submission_created`           | Submission created           | A form is submitted on a covered Action Page, including Lead Page forms and pledges. Sent shortly after the form is submitted.   |
| `donation_completed`           | Donation completed           | A donation completes.                                                                                                            |
| `donation_refunded`            | Donation refunded            | A donation is fully refunded.                                                                                                    |
| `donation_partially_refunded`  | Donation partially refunded  | Part of a donation is refunded.                                                                                                  |
| `donation_voided`              | Donation voided              | A donation is voided.                                                                                                            |
| `donation_chargeback`          | Donation chargeback          | A chargeback is filed on a donation.                                                                                             |
| `donation_chargeback_reversed` | Donation chargeback reversed | A chargeback is reversed in your favor.                                                                                          |
| `donation_ach_returned`        | Donation ACH returned        | A bank (ACH) donation is returned by the donor's bank.                                                                           |
| `donation_settled`             | Donation settled             | A payout that includes the donation is sent. See [Payouts](https://docs.anedot.com/finance/management-and-reporting/payouts.md). |
| `commitment_created`           | Commitment created           | A new recurring donation schedule is created.                                                                                    |
| `commitment_updated`           | Commitment updated           | A commitment changes, such as its amount, schedule, next payment date, or status.                                                |
| `commitment_failed_to_process` | Commitment failed to process | A scheduled recurring payment fails. It's sent on the first failed attempt only, not on later retries.                           |

## Find Your Data

Every live request Anedot sends is logged in **Settings > Integrations > Integration Requests**, with its status, the request sent, and your endpoint's response. Use it to check whether an event was delivered and why a request failed. See [Integration Requests](https://docs.anedot.com/integrations/relay-data-troubleshooting/integration-requests.md).

## Custom Templates

A template is JSON that sets the shape of the `payload`. Anedot fills in tokens with values from the record:

* **Field tokens:** Use `{{field_name}}` inside a JSON string, such as `"email": "{{email}}"`. Field values are always sent as strings, and empty values are sent as `""`.
* **Object tokens:** Use `"<<object_name>>"` with the quotes, such as `"donations": "<<donations>>"`. Anedot replaces the whole string with a JSON object or list.

Each record type has its own fields. A token that isn't in the record type's field list is sent as written, so use the field names in [Field Mapping](https://docs.anedot.com/integrations/integration-automation-tools/webhooks.md#field-mapping) for the events your webhook sends. Your template must be valid JSON, or Anedot won't save it.

Every payload also includes a `phone` field, even if your template leaves it out.

This example sends a short donation payload:

```json
{
  "amount": "{{event_amount}}",
  "status": "{{status}}",
  "donor_name": "{{name}}",
  "donor_email": "{{email}}",
  "page": "{{action_page_name}}",
  "donation": "<<donation>>",
  "custom_fields": "<<custom_field_responses>>"
}
```

## Field Mapping

All plain field values are strings. Dates such as `created_at` are in UTC, for example `2026-11-03 15:04:12 UTC`, and fields ending in `_iso8601` use the ISO 8601 format, for example `2026-11-03T15:04:12Z`. True and false values are sent as `"true"` and `"false"`. When a donor's `phone` matches your account's own phone number, Anedot sends it as `null`.

### Submission Fields

Submission events use these fields.

| Field                                                                                                          | Description                                                                                                                                                                                                                          |
| -------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `id`                                                                                                           | The submission ID.                                                                                                                                                                                                                   |
| `account_name`, `account_uid`                                                                                  | Your fundraising account's name and ID.                                                                                                                                                                                              |
| `action_page_id`, `action_page_name`                                                                           | The Action Page's ID and name.                                                                                                                                                                                                       |
| `first_name`, `middle_name`, `last_name`, `title`, `suffix`                                                    | The donor's name.                                                                                                                                                                                                                    |
| `email`, `phone`, `mobile_phone`                                                                               | The donor's contact details.                                                                                                                                                                                                         |
| `organization`, `occupation`, `employer_name`, `currently_employed`                                            | The donor's organization and employment details.                                                                                                                                                                                     |
| `address_line_1`, `address_line_2`, `address_city`, `address_region`, `address_postal_code`, `address_country` | The donor's address.                                                                                                                                                                                                                 |
| `communications_consent_email`, `communications_consent_phone`                                                 | Whether the donor agreed to email or phone communications.                                                                                                                                                                           |
| `donation_amount`                                                                                              | The submission's total, formatted as currency, such as `$25.00`.                                                                                                                                                                     |
| `payment_method_type`                                                                                          | The payment type, such as `credit_card`.                                                                                                                                                                                             |
| `card_type`, `card_last_digits`, `card_expiration`                                                             | Card details. `card_expiration` uses `MM/YYYY`. Empty for other payment types.                                                                                                                                                       |
| `bitcoin_address`                                                                                              | The Bitcoin address for Bitcoin donations. Empty otherwise.                                                                                                                                                                          |
| `pledge`, `pledge_capture_date`                                                                                | Whether the submission is a pledge, and the date it's scheduled to be charged in your account's time zone.                                                                                                                           |
| `product_code`, `product_id`, `product_name`, `product_value`                                                  | Details of the first product selected on the form. Empty when no product is selected.                                                                                                                                                |
| `donor_profile_id`                                                                                             | The donor profile ID.                                                                                                                                                                                                                |
| `ip_address`                                                                                                   | The donor's IP address.                                                                                                                                                                                                              |
| `referrer`, `referrer_to_form`                                                                                 | The referrer URLs recorded with the submission.                                                                                                                                                                                      |
| `source_code`, `utm_campaign`, `utm_content`, `utm_medium`, `utm_source`, `utm_term`                           | Tracking values from the page URL. See [URL Parameters](https://docs.anedot.com/action-pages/advanced-features/url-parameter.md).                                                                                                    |
| `created_at`, `created_at_iso8601`, `updated_at`, `updated_at_iso8601`                                         | When the submission was created and last updated.                                                                                                                                                                                    |
| `custom_field_responses`                                                                                       | An object with the donor's answers to your custom form fields. See [Custom Form Fields](https://docs.anedot.com/action-pages/page-builder/custom-form-fields.md).                                                                    |
| `donations`                                                                                                    | A list of the submission's donations. Each item has `id`, `fees`, `fees_paid_by_donor`, `fund` (`id`, `identifier`, `name`), `gross_amount`, and `net_amount`.                                                                       |
| `event`, `event_tickets`                                                                                       | Event details and the tickets purchased, for Event Pages. An empty object and an empty list on other pages. See [Event Tickets and Promo Codes](https://docs.anedot.com/action-pages/page-builder/event-tickets-and-promo-codes.md). |

### Donation Fields

Donation events use these fields, except **Donation settled**.

| Field                                                                                                          | Description                                                                                                                                                                                                   |
| -------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `submission_id`                                                                                                | The ID of the submission the donation came from.                                                                                                                                                              |
| `account_name`, `account_uid`                                                                                  | Your fundraising account's name and ID.                                                                                                                                                                       |
| `action_page_id`, `action_page_name`                                                                           | The Action Page's ID and name.                                                                                                                                                                                |
| `status`                                                                                                       | The donation's status, such as `completed`, `refunded`, `partially_refunded`, `voided`, `chargeback`, `chargeback_reversed`, or `ach_returned`.                                                               |
| `event_amount`                                                                                                 | The amount of this event, without a currency symbol, such as `25.00`. Negative for refunds, voids, chargebacks, and ACH returns.                                                                              |
| `amount_in_dollars`                                                                                            | The donation amount, such as `25.0`.                                                                                                                                                                          |
| `net_amount`                                                                                                   | The amount your account receives for this event after fees. Negative for reversals.                                                                                                                           |
| `origin`                                                                                                       | Where the donation came from, such as `hosted`.                                                                                                                                                               |
| `source`                                                                                                       | The payment type, such as `credit_card` or `bank_account`.                                                                                                                                                    |
| `payment_description`                                                                                          | The payment method as shown in Anedot, such as `Visa •••• 4242`.                                                                                                                                              |
| `payment_method_id`                                                                                            | The payment method ID.                                                                                                                                                                                        |
| `date`, `date_iso8601`                                                                                         | The donation date.                                                                                                                                                                                            |
| `name`                                                                                                         | The donor's full name, including title and suffix.                                                                                                                                                            |
| `first_name`, `middle_name`, `last_name`, `title`, `suffix`                                                    | The donor's name.                                                                                                                                                                                             |
| `email`, `phone`, `mobile_phone`                                                                               | The donor's contact details.                                                                                                                                                                                  |
| `organization`, `occupation`, `employer_name`, `currently_employed`                                            | The donor's organization and employment details.                                                                                                                                                              |
| `address_line_1`, `address_line_2`, `address_city`, `address_region`, `address_postal_code`, `address_country` | The donor's address.                                                                                                                                                                                          |
| `communications_consent_email`, `communications_consent_phone`                                                 | Whether the donor agreed to email or phone communications.                                                                                                                                                    |
| `recurring`, `is_recurring_commitment`                                                                         | Whether the donation is part of a commitment.                                                                                                                                                                 |
| `frequency`                                                                                                    | `once`, or the commitment's frequency, such as `monthly`.                                                                                                                                                     |
| `commitment_uid`, `commitment_index`, `commitment_recurring_until`                                             | The commitment's ID, which payment in the schedule this is, and the commitment's end date. Empty for one-time donations.                                                                                      |
| `check_number`                                                                                                 | The check number for check donations.                                                                                                                                                                         |
| `bitcoin_address`                                                                                              | The Bitcoin address for Bitcoin donations. Empty otherwise.                                                                                                                                                   |
| `donor_profile_id`                                                                                             | The donor profile ID.                                                                                                                                                                                         |
| `ip_address`                                                                                                   | The donor's IP address.                                                                                                                                                                                       |
| `referrer`, `referrer_to_form`                                                                                 | The referrer URLs recorded with the submission.                                                                                                                                                               |
| `source_code`, `utm_campaign`, `utm_content`, `utm_medium`, `utm_source`, `utm_term`                           | Tracking values from the page URL.                                                                                                                                                                            |
| `created_at`, `created_at_iso8601`, `updated_at`, `updated_at_iso8601`                                         | When the donation was created and last updated.                                                                                                                                                               |
| `custom_field_responses`                                                                                       | An object with the donor's custom form field answers. Each key is the field label in lowercase, with spaces replaced by underscores.                                                                          |
| `donation`                                                                                                     | An object with `id`, `card_last_digits`, `card_type`, `credit_card_expiration`, `donation_project`, `products` (each with `internal_identifier` and `name`), `fees`, and `fund` (`id`, `identifier`, `name`). |
| `event`, `event_tickets`                                                                                       | Event details and tickets, for Event Pages. Empty on other pages.                                                                                                                                             |

In `fees`, `anedot_fees` holds Anedot's fee for this event as `amount`, or `{}` when there's no fee. `vendor_fees` lists any vendor fees.

**Donation settled** sends a shorter payload. It includes a `donation` object with the donation's `id` and `settlement_date`, the date and time the payout was processed, and the donor's `phone`.

### Commitment Fields

Commitment events use these fields.

| Field                                                                                                          | Description                                                                                                                                            |
| -------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `id`                                                                                                           | The commitment ID.                                                                                                                                     |
| `status`                                                                                                       | `active` or `inactive`.                                                                                                                                |
| `total_amount_in_dollars`                                                                                      | The amount of each recurring donation, such as `25.0`.                                                                                                 |
| `frequency`                                                                                                    | How often the donation repeats, such as `monthly`.                                                                                                     |
| `next_capture_on`                                                                                              | The date of the next scheduled payment.                                                                                                                |
| `cancelled_on`, `cancelled_on_iso8601`                                                                         | The date the commitment was cancelled. Empty while it's active.                                                                                        |
| `cancellation_reason`                                                                                          | Why the commitment was cancelled. Empty while it's active.                                                                                             |
| `payment_status_message`                                                                                       | The decline reason. Sent with **Commitment failed to process**.                                                                                        |
| `whodunnit`                                                                                                    | The email address of the user who changed the commitment, when a user made the change.                                                                 |
| `token`                                                                                                        | The commitment's token.                                                                                                                                |
| `action_page_id`, `action_page_name`                                                                           | The Action Page's ID and name.                                                                                                                         |
| `submission_id`, `donor_profile_id`, `payment_method_id`                                                       | The related submission, donor profile, and payment method IDs.                                                                                         |
| `first_name`, `middle_name`, `last_name`, `title`, `suffix`                                                    | The donor's name.                                                                                                                                      |
| `email`, `phone`                                                                                               | The donor's contact details.                                                                                                                           |
| `occupation`, `employer_name`, `currently_employed`                                                            | The donor's employment details.                                                                                                                        |
| `address_line_1`, `address_line_2`, `address_city`, `address_region`, `address_postal_code`, `address_country` | The donor's address.                                                                                                                                   |
| `communications_consent_email`, `communications_consent_phone`                                                 | Whether the donor agreed to email or phone communications.                                                                                             |
| `ip_address`, `referrer`, `referrer_to_form`                                                                   | The donor's IP address and the referrer URLs recorded with the submission.                                                                             |
| `created_at`, `created_at_iso8601`, `updated_at`, `updated_at_iso8601`                                         | When the commitment was created and last updated.                                                                                                      |
| `fund_allocations`                                                                                             | A list of the commitment's Funds. Each item has `amount_in_dollars` and `fund` (`id`, `identifier`, `name`).                                           |
| `changed_attributes`                                                                                           | For **Commitment updated**, each changed field with its old and new values, such as `"total_amount_in_dollars": [20.0, 25.0]`. Empty for other events. |

See [Commitments](https://docs.anedot.com/finance/management-and-reporting/commitments.md) and [Failed Commitments](https://docs.anedot.com/finance/management-and-reporting/commitments/failed-commitments.md) for how commitments work in Anedot.

## Payload Data

These examples use sample data for a demo account, City Food Pantry. Your requests use your own account's data.

### Request Headers

```json
{
  "User-Agent": "Anedot-Hookshot/574e628",
  "X-Request-Id": "0b6f3c2e-8d41-4a97-b5e0-6c1d9f2a7e38",
  "X-Request-Signature": "8f3c1a7e5b9d2f40c6e8a1b3d5f7092e4c6a8b0d2f4e6a8c0b2d4f6e8a0c2e4b",
  "X-Integration-Event": "donation_completed",
  "X-Integration-Id": "4a8e2c6f-1b3d-4f5a-9c7e-2d0b8f6a4c1e"
}
```

### Submission Created

Sent for a one-time $25 donation on a Donation Page.

```json
{
  "event": "submission_created",
  "payload": {
    "account_name": "City Food Pantry",
    "account_uid": "a7c31e09b2d54f8e6a120",
    "action_page_id": "5b2e8f1c-3d4a-4e7b-9c61-0f8a2d7e4b13",
    "action_page_name": "Give to City Food Pantry",
    "bitcoin_address": "",
    "address_line_1": "1200 Main St",
    "address_line_2": "Apt 4",
    "address_city": "Springfield",
    "address_region": "IL",
    "address_postal_code": "62701",
    "address_country": "US",
    "card_type": "visa",
    "card_last_digits": "4242",
    "card_expiration": "12/2028",
    "communications_consent_email": "true",
    "communications_consent_phone": "false",
    "created_at": "2026-11-03 15:04:12 UTC",
    "created_at_iso8601": "2026-11-03T15:04:12Z",
    "currently_employed": "true",
    "donation_amount": "$25.00",
    "donor_profile_id": "c18f5d3e-72a9-4b6c-8e01-d4f9a6b3c257",
    "email": "jordan.rivera@example.com",
    "employer_name": "Springfield Public Schools",
    "first_name": "Jordan",
    "pledge": "false",
    "pledge_capture_date": "",
    "id": "9e4c2a71-6b58-4f03-a1d9-3c7e5b20f846",
    "ip_address": "203.0.113.24",
    "last_name": "Rivera",
    "middle_name": "",
    "mobile_phone": "",
    "occupation": "Teacher",
    "organization": "",
    "payment_method_type": "credit_card",
    "phone": "2175550142",
    "product_code": "",
    "product_id": "",
    "product_name": "",
    "product_value": "",
    "referrer": "https://secure.anedot.com/city-food-pantry/5b2e8f1c-3d4a-4e7b-9c61-0f8a2d7e4b13",
    "referrer_to_form": "https://www.cityfoodpantry.org/donate",
    "source_code": "fall-drive",
    "suffix": "",
    "title": "",
    "updated_at": "2026-11-03 15:04:13 UTC",
    "updated_at_iso8601": "2026-11-03T15:04:13Z",
    "utm_campaign": "fall-food-drive",
    "utm_content": "",
    "utm_medium": "email",
    "utm_source": "newsletter",
    "utm_term": "",
    "custom_field_responses": {},
    "donations": [
      {
        "id": "d3f81a6c05e9b274c1d8e",
        "fees": {
          "anedot_fees": {
            "amount": "1.30"
          },
          "vendor_fees": []
        },
        "fees_paid_by_donor": "false",
        "fund": {
          "id": "e6b4c2a8-91d7-4f35-b0e3-5a8c7d1f2e94",
          "identifier": "1001",
          "name": "General Fund"
        },
        "gross_amount": "25.0",
        "net_amount": "23.70"
      }
    ],
    "event": {},
    "event_tickets": []
  }
}
```

### Donation Completed

```json
{
  "event": "donation_completed",
  "payload": {
    "account_name": "City Food Pantry",
    "account_uid": "a7c31e09b2d54f8e6a120",
    "bitcoin_address": "",
    "submission_id": "9e4c2a71-6b58-4f03-a1d9-3c7e5b20f846",
    "origin": "hosted",
    "commitment_uid": "",
    "event_amount": "25.00",
    "amount_in_dollars": "25.0",
    "net_amount": "23.70",
    "frequency": "once",
    "action_page_id": "5b2e8f1c-3d4a-4e7b-9c61-0f8a2d7e4b13",
    "action_page_name": "Give to City Food Pantry",
    "donor_profile_id": "c18f5d3e-72a9-4b6c-8e01-d4f9a6b3c257",
    "payment_method_id": "2d7a9c4e-1f63-4b85-9e2a-7c0b5d8f3a61",
    "created_at_iso8601": "2026-11-03T15:04:12Z",
    "created_at": "2026-11-03 15:04:12 UTC",
    "updated_at": "2026-11-03 15:04:13 UTC",
    "updated_at_iso8601": "2026-11-03T15:04:13Z",
    "address_line_1": "1200 Main St",
    "address_line_2": "Apt 4",
    "address_city": "Springfield",
    "address_region": "IL",
    "address_postal_code": "62701",
    "address_country": "US",
    "email": "jordan.rivera@example.com",
    "phone": "2175550142",
    "first_name": "Jordan",
    "last_name": "Rivera",
    "middle_name": "",
    "mobile_phone": "",
    "organization": "",
    "occupation": "Teacher",
    "employer_name": "Springfield Public Schools",
    "title": "",
    "suffix": "",
    "ip_address": "203.0.113.24",
    "is_recurring_commitment": "false",
    "recurring": "false",
    "referrer": "https://secure.anedot.com/city-food-pantry/5b2e8f1c-3d4a-4e7b-9c61-0f8a2d7e4b13",
    "referrer_to_form": "https://www.cityfoodpantry.org/donate",
    "source_code": "fall-drive",
    "communications_consent_email": "true",
    "communications_consent_phone": "false",
    "currently_employed": "true",
    "check_number": "",
    "commitment_index": "",
    "commitment_recurring_until": "",
    "date": "2026-11-03 15:04:12 UTC",
    "date_iso8601": "2026-11-03T15:04:12Z",
    "name": "Jordan Rivera",
    "payment_description": "Visa •••• 4242",
    "source": "credit_card",
    "status": "completed",
    "utm_campaign": "fall-food-drive",
    "utm_content": "",
    "utm_medium": "email",
    "utm_source": "newsletter",
    "utm_term": "",
    "custom_field_responses": {
      "volunteer_interest": "Weekend food sorting"
    },
    "donation": {
      "id": "d3f81a6c05e9b274c1d8e",
      "card_last_digits": "4242",
      "card_type": "visa",
      "credit_card_expiration": "12/2028",
      "donation_project": "",
      "products": [],
      "fees": {
        "anedot_fees": {
          "amount": "1.30"
        },
        "vendor_fees": []
      },
      "fund": {
        "id": "e6b4c2a8-91d7-4f35-b0e3-5a8c7d1f2e94",
        "identifier": "1001",
        "name": "General Fund"
      }
    },
    "event": {},
    "event_tickets": []
  }
}
```

### Donation Refunded

Other reversal events, such as **Donation voided**, **Donation chargeback**, and **Donation ACH returned**, use the same fields with their own `status` and amounts.

```json
{
  "event": "donation_refunded",
  "payload": {
    "account_name": "City Food Pantry",
    "account_uid": "a7c31e09b2d54f8e6a120",
    "bitcoin_address": "",
    "submission_id": "9e4c2a71-6b58-4f03-a1d9-3c7e5b20f846",
    "origin": "hosted",
    "commitment_uid": "",
    "event_amount": "-25.00",
    "amount_in_dollars": "25.0",
    "net_amount": "-25.00",
    "frequency": "once",
    "action_page_id": "5b2e8f1c-3d4a-4e7b-9c61-0f8a2d7e4b13",
    "action_page_name": "Give to City Food Pantry",
    "donor_profile_id": "c18f5d3e-72a9-4b6c-8e01-d4f9a6b3c257",
    "payment_method_id": "2d7a9c4e-1f63-4b85-9e2a-7c0b5d8f3a61",
    "created_at_iso8601": "2026-11-03T15:04:12Z",
    "created_at": "2026-11-03 15:04:12 UTC",
    "updated_at": "2026-11-04 10:15:40 UTC",
    "updated_at_iso8601": "2026-11-04T10:15:40Z",
    "address_line_1": "1200 Main St",
    "address_line_2": "Apt 4",
    "address_city": "Springfield",
    "address_region": "IL",
    "address_postal_code": "62701",
    "address_country": "US",
    "email": "jordan.rivera@example.com",
    "phone": "2175550142",
    "first_name": "Jordan",
    "last_name": "Rivera",
    "middle_name": "",
    "mobile_phone": "",
    "organization": "",
    "occupation": "Teacher",
    "employer_name": "Springfield Public Schools",
    "title": "",
    "suffix": "",
    "ip_address": "203.0.113.24",
    "is_recurring_commitment": "false",
    "recurring": "false",
    "referrer": "https://secure.anedot.com/city-food-pantry/5b2e8f1c-3d4a-4e7b-9c61-0f8a2d7e4b13",
    "referrer_to_form": "https://www.cityfoodpantry.org/donate",
    "source_code": "fall-drive",
    "communications_consent_email": "true",
    "communications_consent_phone": "false",
    "currently_employed": "true",
    "check_number": "",
    "commitment_index": "",
    "commitment_recurring_until": "",
    "date": "2026-11-03 15:04:12 UTC",
    "date_iso8601": "2026-11-03T15:04:12Z",
    "name": "Jordan Rivera",
    "payment_description": "Visa •••• 4242",
    "source": "credit_card",
    "status": "refunded",
    "utm_campaign": "fall-food-drive",
    "utm_content": "",
    "utm_medium": "email",
    "utm_source": "newsletter",
    "utm_term": "",
    "custom_field_responses": {
      "volunteer_interest": "Weekend food sorting"
    },
    "donation": {
      "id": "d3f81a6c05e9b274c1d8e",
      "card_last_digits": "4242",
      "card_type": "visa",
      "credit_card_expiration": "12/2028",
      "donation_project": "",
      "products": [],
      "fees": {
        "anedot_fees": {},
        "vendor_fees": []
      },
      "fund": {
        "id": "e6b4c2a8-91d7-4f35-b0e3-5a8c7d1f2e94",
        "identifier": "1001",
        "name": "General Fund"
      }
    },
    "event": {},
    "event_tickets": []
  }
}
```

### Commitment Created

```json
{
  "event": "commitment_created",
  "payload": {
    "id": "7f2b9d4e-5a1c-4e83-b6f0-2c9d8a3e1b57",
    "total_amount_in_dollars": "25.0",
    "next_capture_on": "2026-12-03 15:04:12 UTC",
    "cancelled_on": "",
    "cancelled_on_iso8601": "",
    "token": "Qm7tR2xK9vB4nL8pW3cY6dZa",
    "frequency": "monthly",
    "action_page_id": "5b2e8f1c-3d4a-4e7b-9c61-0f8a2d7e4b13",
    "action_page_name": "Give to City Food Pantry",
    "donor_profile_id": "c18f5d3e-72a9-4b6c-8e01-d4f9a6b3c257",
    "payment_method_id": "2d7a9c4e-1f63-4b85-9e2a-7c0b5d8f3a61",
    "submission_id": "9e4c2a71-6b58-4f03-a1d9-3c7e5b20f846",
    "created_at": "2026-11-03 15:04:12 UTC",
    "created_at_iso8601": "2026-11-03T15:04:12Z",
    "updated_at": "2026-11-03 15:04:12 UTC",
    "updated_at_iso8601": "2026-11-03T15:04:12Z",
    "address_line_1": "1200 Main St",
    "address_line_2": "Apt 4",
    "address_city": "Springfield",
    "address_region": "IL",
    "address_postal_code": "62701",
    "address_country": "US",
    "email": "jordan.rivera@example.com",
    "phone": "2175550142",
    "first_name": "Jordan",
    "last_name": "Rivera",
    "middle_name": "",
    "occupation": "Teacher",
    "employer_name": "Springfield Public Schools",
    "title": "",
    "suffix": "",
    "ip_address": "203.0.113.24",
    "referrer": "https://secure.anedot.com/city-food-pantry/5b2e8f1c-3d4a-4e7b-9c61-0f8a2d7e4b13",
    "referrer_to_form": "https://www.cityfoodpantry.org/donate",
    "communications_consent_email": "true",
    "communications_consent_phone": "false",
    "currently_employed": "true",
    "payment_status_message": "",
    "cancellation_reason": "",
    "whodunnit": "",
    "status": "active",
    "fund_allocations": [
      {
        "amount_in_dollars": "25.0",
        "fund": {
          "id": "e6b4c2a8-91d7-4f35-b0e3-5a8c7d1f2e94",
          "identifier": "1001",
          "name": "General Fund"
        }
      }
    ],
    "changed_attributes": {}
  }
}
```

### Commitment Failed to Process

```json
{
  "event": "commitment_failed_to_process",
  "payload": {
    "id": "7f2b9d4e-5a1c-4e83-b6f0-2c9d8a3e1b57",
    "total_amount_in_dollars": "25.0",
    "next_capture_on": "2026-12-03 15:04:12 UTC",
    "cancelled_on": "",
    "cancelled_on_iso8601": "",
    "token": "Qm7tR2xK9vB4nL8pW3cY6dZa",
    "frequency": "monthly",
    "action_page_id": "5b2e8f1c-3d4a-4e7b-9c61-0f8a2d7e4b13",
    "action_page_name": "Give to City Food Pantry",
    "donor_profile_id": "c18f5d3e-72a9-4b6c-8e01-d4f9a6b3c257",
    "payment_method_id": "2d7a9c4e-1f63-4b85-9e2a-7c0b5d8f3a61",
    "submission_id": "9e4c2a71-6b58-4f03-a1d9-3c7e5b20f846",
    "created_at": "2026-11-03 15:04:12 UTC",
    "created_at_iso8601": "2026-11-03T15:04:12Z",
    "updated_at": "2026-12-03 15:04:20 UTC",
    "updated_at_iso8601": "2026-12-03T15:04:20Z",
    "address_line_1": "1200 Main St",
    "address_line_2": "Apt 4",
    "address_city": "Springfield",
    "address_region": "IL",
    "address_postal_code": "62701",
    "address_country": "US",
    "email": "jordan.rivera@example.com",
    "phone": "2175550142",
    "first_name": "Jordan",
    "last_name": "Rivera",
    "middle_name": "",
    "occupation": "Teacher",
    "employer_name": "Springfield Public Schools",
    "title": "",
    "suffix": "",
    "ip_address": "203.0.113.24",
    "referrer": "https://secure.anedot.com/city-food-pantry/5b2e8f1c-3d4a-4e7b-9c61-0f8a2d7e4b13",
    "referrer_to_form": "https://www.cityfoodpantry.org/donate",
    "communications_consent_email": "true",
    "communications_consent_phone": "false",
    "currently_employed": "true",
    "payment_status_message": "Insufficient funds",
    "cancellation_reason": "",
    "whodunnit": "",
    "status": "active",
    "fund_allocations": [
      {
        "amount_in_dollars": "25.0",
        "fund": {
          "id": "e6b4c2a8-91d7-4f35-b0e3-5a8c7d1f2e94",
          "identifier": "1001",
          "name": "General Fund"
        }
      }
    ],
    "changed_attributes": {}
  }
}
```

### Commitment Updated

This example shows the monthly amount changing from $20 to $25.

```json
{
  "event": "commitment_updated",
  "payload": {
    "id": "7f2b9d4e-5a1c-4e83-b6f0-2c9d8a3e1b57",
    "total_amount_in_dollars": "25.0",
    "next_capture_on": "2026-12-03 15:04:12 UTC",
    "cancelled_on": "",
    "cancelled_on_iso8601": "",
    "token": "Qm7tR2xK9vB4nL8pW3cY6dZa",
    "frequency": "monthly",
    "action_page_id": "5b2e8f1c-3d4a-4e7b-9c61-0f8a2d7e4b13",
    "action_page_name": "Give to City Food Pantry",
    "donor_profile_id": "c18f5d3e-72a9-4b6c-8e01-d4f9a6b3c257",
    "payment_method_id": "2d7a9c4e-1f63-4b85-9e2a-7c0b5d8f3a61",
    "submission_id": "9e4c2a71-6b58-4f03-a1d9-3c7e5b20f846",
    "created_at": "2026-11-03 15:04:12 UTC",
    "created_at_iso8601": "2026-11-03T15:04:12Z",
    "updated_at": "2026-11-10 09:30:05 UTC",
    "updated_at_iso8601": "2026-11-10T09:30:05Z",
    "address_line_1": "1200 Main St",
    "address_line_2": "Apt 4",
    "address_city": "Springfield",
    "address_region": "IL",
    "address_postal_code": "62701",
    "address_country": "US",
    "email": "jordan.rivera@example.com",
    "phone": "2175550142",
    "first_name": "Jordan",
    "last_name": "Rivera",
    "middle_name": "",
    "occupation": "Teacher",
    "employer_name": "Springfield Public Schools",
    "title": "",
    "suffix": "",
    "ip_address": "203.0.113.24",
    "referrer": "https://secure.anedot.com/city-food-pantry/5b2e8f1c-3d4a-4e7b-9c61-0f8a2d7e4b13",
    "referrer_to_form": "https://www.cityfoodpantry.org/donate",
    "communications_consent_email": "true",
    "communications_consent_phone": "false",
    "currently_employed": "true",
    "payment_status_message": "",
    "cancellation_reason": "",
    "whodunnit": "maria.chen@cityfoodpantry.org",
    "status": "active",
    "fund_allocations": [
      {
        "amount_in_dollars": "25.0",
        "fund": {
          "id": "e6b4c2a8-91d7-4f35-b0e3-5a8c7d1f2e94",
          "identifier": "1001",
          "name": "General Fund"
        }
      }
    ],
    "changed_attributes": {
      "total_amount_in_dollars": [
        20.0,
        25.0
      ],
      "updated_at": [
        "2026-11-03 15:04:12 UTC",
        "2026-11-10 09:30:05 UTC"
      ]
    }
  }
}
```

### Donation Settled

```json
{
  "event": "donation_settled",
  "payload": {
    "donation": {
      "id": "d3f81a6c05e9b274c1d8e",
      "settlement_date": "2026-11-06 14:00:00 UTC"
    },
    "phone": "2175550142"
  }
}
```

## Related Articles

* [Integrations](https://docs.anedot.com/integrations.md)
* [Integration Requests](https://docs.anedot.com/integrations/relay-data-troubleshooting/integration-requests.md)
* [Zapier](https://docs.anedot.com/integrations/integration-automation-tools/zapier.md)
* [Notifications](https://docs.anedot.com/get-started/security/notifications.md)
* [Teams](https://docs.anedot.com/settings/access/teams.md)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.anedot.com/integrations/integration-automation-tools/webhooks.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
