> 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/political-campaign-tools/partyline.md).

# Partyline

Connect Anedot to Partyline to send donation data from Action Pages, manage your connection, and review field mapping, payload data, and troubleshooting.

The **Partyline** integration sends donation data from your Action Pages to Partyline, and lives in **Settings > Integrations**. This article covers how to get your credentials, create the connection, manage your connection, review what Anedot sends, find your data, and review field mapping, payload data, and troubleshooting.

## Before You Begin

You need **Integrations: Edit permissions** to add, edit, push or delete a connection. Integrations: Edit permissions also require **Action Pages: View permissions** and **Integrations: View permissions**. See [Permission Sets](https://docs.anedot.com/settings/access/permission-sets.md).

You also need a Partyline API key and Client secret.

## Connect Anedot to Partyline

### Step 1: Get Your Partyline Credentials

To connect Anedot to Partyline, you need a **Partyline API key** and a **Client secret**. If you don't already have them, get them from Partyline before you start.

{% hint style="info" %}
You can't change the API key or Client secret after you create the connection. To use different credentials, delete the connection and connect again.
{% endhint %}

### Step 2: Create the Connection in Anedot

1. Go to **Settings > Integrations**.
2. Click **New integration**.
3. Choose **Partyline**. The card is in the CRM category and is described as "Send Action Page data to Partyline."
4. Leave **All Action Pages** checked to include all current and future pages. The checkbox includes the note "Includes future pages added after this integration is saved."
5. (Optional) To pick pages instead, uncheck **All Action Pages** and choose pages in **Selected pages**. If you choose two or more pages, Action Pages you add later are also included.
6. (Optional) If **All Action Pages** is checked, enter a comma separated list of Action Page IDs, with no spaces, in **Exclude Pages** to leave those pages out.
7. Leave **Team** set to **All teams**, or choose a team. The help text is "Optionally limit this connection to one team."

{% hint style="info" %}
The **Team** setting is not applied to Partyline sends.
{% endhint %}

8. Enter your **Partyline API key**.
9. Enter your **Client secret**.
10. Click **Create integration**.

Anedot shows "Integration created." and the connection appears in your list as **Integration** followed by the connection ID.

{% hint style="warning" %}
If you uncheck **All Action Pages**, select at least one page. Otherwise, Anedot shows "Select at least one Action Page, or choose All Action Pages."
{% endhint %}

If you see "Action pages must load before you can save this integration." or "Action pages are still loading. Try again in a moment.", wait for your Action Pages to load, then click **Create integration** again.

Creating the connection doesn't send a donation. Anedot starts sending with the next qualifying completed donation or successful recurring charge.

## Manage Your Connection

### Edit A Connection

1. Go to **Settings > Integrations**.
2. Click **Edit** on your connection. The **Edit integration** form opens.
3. Enter a **Name**. This field is required to save. A Name you save appears on the connection.
4. (Optional) Change the Action Pages, **Exclude Pages**, or **Team**.
5. Leave the **Credentials/details JSON** box as it is. It shows only details, or "None" when empty. Credentials are never shown.
6. Click **Save integration**.

Anedot shows "Integration updated."

The **Provider** field is read-only and shows `partyline`. If the **Credentials/details JSON** box doesn't contain valid JSON, Anedot shows "Details must be valid JSON."

{% hint style="info" %}
You can't change the API key or Client secret after you create the connection. To use different credentials, delete the connection and connect again.
{% endhint %}

### Turn A Connection Off or On

The **Edit integration** form includes an **Enabled** checkbox, which is on by default. Unchecking **Enabled** and clicking **Save integration** doesn't stop live sends or **Push unsent**.

{% hint style="warning" %}
To stop sending donation data to Partyline, delete the connection.
{% endhint %}

### Push Unsent Donations

Use **Push unsent** to send donations from a date range that haven't already been sent successfully. This includes donations that failed and donations Anedot never tried to send. Donations already sent successfully aren't sent again.

1. Go to **Settings > Integrations**.
2. Click **Push unsent** on your Partyline connection.
3. Choose a date range of up to 31 days that starts within the last 12 months.
4. Start the push.

Anedot shows "Push started." Wait about five minutes, then check **Settings > Integration Requests** for the new rows.

**Push unsent** doesn't apply **Enabled**, **Team**, or **Exclude Pages**. If you selected two or more pages, the push covers all pages. To learn more, see [Push Unsent](https://docs.anedot.com/integrations/integration-automation-tools/webhooks.md#push-unsent) in Webhooks (API).

### Delete A Connection

1. Go to **Settings > Integrations**.
2. Click **Delete** on your Partyline connection.
3. Confirm when you see the prompt "Delete this integration?"

Anedot shows "Integration deleted." and stops sending donation data to Partyline. Records already in Partyline don't change.

{% hint style="danger" %}
Deleting a connection can't be undone. To send donation data to Partyline again, connect again.
{% endhint %}

## Data Relays

### What Anedot Sends

Anedot sends one `donation_completed` request to Partyline for each completed donation. This includes:

* Completed donations, including each successful recurring charge. For recurring charges, `recurring` is `true`.
* Paid Event Page donations.

Live sends follow your Action Page scope and **Exclude Pages**. **Enabled** and **Team** don't stop or limit Partyline sends.

### Records Anedot Skips

Anedot doesn't send:

* Lead Pages and free Event Pages.
* Refunds, voids, chargebacks, ACH returns, and settlements.
* Abandoned Actions, later edits, and commitment changes. See [Commitments](https://docs.anedot.com/finance/management-and-reporting/commitments.md).
* Custom fields.

If a donation returns to Completed after a reversal, Anedot doesn't send it again. When Anedot skips a send, it doesn't create an Integration Requests row.

### Delivery And Retries

You can review every send in **Settings > Integration Requests**. See [Integration Requests](https://docs.anedot.com/integrations/relay-data-troubleshooting/integration-requests.md).

* **Success:** Partyline returned HTTP 2xx, and the response shows the donation was imported successfully.
* **Failure:** Partyline returned any other HTTP 2xx result, or HTTP 400, 401, or 404. Anedot sends the failure email.
* **Error:** Partyline returned HTTP 500 or 503 or another status, or Anedot couldn't complete the request, for example because of a timeout. Anedot doesn't send the failure email, and the send can be retried automatically.

When a send fails, Anedot emails users who have the **Integration sync failed** notification turned on. This notification is off by default. The subject is "Anedot Partyline Integration Failed" when the connection has no name. When a Name is set, the subject is "Anedot" followed by the connection Name and "Integration Failed". See [Notifications](https://docs.anedot.com/get-started/security/notifications.md).

## Find Your Data in Partyline

1. Go to **Settings > Integration Requests**.
2. Find a **Success** row for the donation.
3. Open Partyline and review the donation.

What happens after Partyline accepts a donation is controlled by Partyline.

To learn more, see [Integration Requests](https://docs.anedot.com/integrations/relay-data-troubleshooting/integration-requests.md).

## Field Mapping

| Field                                                                                                                                           | Description                                                                                                          |
| ----------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| `event`                                                                                                                                         | Always `donation_completed`                                                                                          |
| `api_method`                                                                                                                                    | "di"                                                                                                                 |
| `payload.address`                                                                                                                               | `street`, `street_2`, `state`, `city`, `zip`, `country`                                                              |
| `payload.amount`                                                                                                                                | Dollar string with a dollar sign, such as "$25.00"                                                                   |
| `payload.event_amount`                                                                                                                          | Dollar string with a dollar sign for the current status                                                              |
| `payload.campaign_identifier`, `payload.campaign_name`                                                                                          | The Action Page name                                                                                                 |
| `payload.campaign_uid`                                                                                                                          | The Action Page UUID                                                                                                 |
| `payload.employer`, `payload.occupation`, `payload.organization`                                                                                | Built-in fields, or null                                                                                             |
| `payload.fees`                                                                                                                                  | `anedot_fees.amount` is a string without a dollar sign, such as "0.88". `anedot_fees` is empty when the fee is zero. |
| `payload.recurring`                                                                                                                             | Boolean. `true` for recurring charges.                                                                               |
| `payload.email`                                                                                                                                 | The donor's email address                                                                                            |
| `payload.first_name`, `payload.last_name`, `payload.name`                                                                                       | The donor's name                                                                                                     |
| `payload.phone`, `payload.mobile_phone`                                                                                                         | Phone numbers                                                                                                        |
| `payload.status`                                                                                                                                | The donation status at send time                                                                                     |
| `payload.uid`                                                                                                                                   | The donation UID                                                                                                     |
| `payload.created_at`, `payload.date`                                                                                                            | ISO timestamps                                                                                                       |
| `payload.origin`, `payload.comments`, `payload.donor_type`, `payload.suffix`, `payload.title`, `payload.referred_by`, `payload.originating_uid` | Additional fields, or null                                                                                           |

## Payload Data

This example shows a stored Integration Requests request body for a $25.00 one-time card donation from Annie Dot (<annie.dot@example.com>). Values in angle brackets are placeholders.

```json
{
  "event": "donation_completed",
  "api_method": "di",
  "payload": {
    "address": {"street": "<line_1>", "street_2": "<line_2>", "state": "<region>", "city": "<city>", "zip": "<postal_code>", "country": "<country>"},
    "amount": "$25.00",
    "event_amount": "$25.00",
    "campaign_identifier": "<Action Page name>",
    "campaign_name": "<Action Page name>",
    "campaign_uid": "<Action Page UUID>",
    "employer": "<employer or null>",
    "fees": {"anedot_fees": {"amount": "<x.xx>"}, "vendor_fees": []},
    "recurring": false,
    "comments": "<comments or null>",
    "created_at": "<ISO timestamp>",
    "date": "<ISO timestamp>",
    "donor_type": "<donor_type or null>",
    "email": "annie.dot@example.com",
    "first_name": "Annie",
    "last_name": "Dot",
    "middle_initial": null,
    "mobile_phone": "<mobile or null>",
    "name": "Annie Dot",
    "occupation": "<occupation or null>",
    "organization": "<organization or null>",
    "originating_uid": null,
    "origin": "<origin>",
    "phone": "<phone>",
    "referred_by": null,
    "status": "<donation status at send time>",
    "suffix": null,
    "title": null,
    "uid": "<donation uid>"
  }
}
```

Anedot saves the response from Partyline on the Integration Requests row. This article doesn't include a sample Partyline response.

## Troubleshooting

### A Donation Isn't in Partyline

* Check **Settings > Integration Requests** for a row for the donation.
* For live sends, review your Action Page scope and **Exclude Pages**.
* Remember that **Enabled** and **Team** don't stop or limit Partyline sends.
* Lead Pages, free Event Pages, refunds, and custom fields aren't sent.

### You Need to Use Different Credentials

You can't change the API key or Client secret on an existing connection. Delete the connection, connect again with the new credentials, then use **Push unsent** to send donations that weren't sent successfully.

### Unchecking Enabled Didn't Stop Sending

Unchecking **Enabled** doesn't stop live sends or **Push unsent**. To stop sending donation data to Partyline, delete the connection.

### Integration Requests Shows Failure or Error

Review the row in **Settings > Integration Requests**. **Failure** rows come from HTTP 400, 401, or 404, or from an unsuccessful 2xx response. Use **Push unsent** to send those donations again. **Error** rows can be retried automatically.

If the issue continues, contact our Support team at <help@anedot.com>.

## Related Articles

* [Integrations](https://docs.anedot.com/integrations.md)
* [Integration Requests](https://docs.anedot.com/integrations/relay-data-troubleshooting/integration-requests.md)
* [Webhooks (API)](https://docs.anedot.com/integrations/integration-automation-tools/webhooks.md)
* [Permission Sets](https://docs.anedot.com/settings/access/permission-sets.md)
* [Teams](https://docs.anedot.com/settings/access/teams.md)
* [Commitments](https://docs.anedot.com/finance/management-and-reporting/commitments.md)
* [Notifications](https://docs.anedot.com/get-started/security/notifications.md)
* [Political Campaign Tools](https://docs.anedot.com/integrations/political-campaign-tools.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/political-campaign-tools/partyline.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.
