# Salsa Engage

> Keep a nonprofit's Salsa Engage supporters in step: add and update supporters, manage segments, record offline gifts, and read form activity, donations and email results.

App · 23 actions. Web page: https://docs.lodol.com/docs/integrations/salsa-engage

## Actions

### Add offline donation

Record a gift taken outside Salsa Engage, such as a check, so it shows in reports. Donations added this way can't be deleted.

**Inputs**

- Supporter ID (`supporter_id`, text, required): The supporter's Salsa Engage ID, from 'Search supporters' or an earlier step.
- Amount (`amount`, number, required): How much was given. At least 0.
- Date (`date`, date and time): When it was given. Defaults to now.
- Type (`donation_type`, text): A gift (charge) or a refund of one. One of: `CHARGE` (Charge (default)), `REFUND`.
- Fund (`fund`, text): The fund's name.
- Campaign (`campaign`, text): The campaign's name.
- Appeal (`appeal`, text): The appeal's name.
- Designation (`designation`, text): What the gift is designated for.
- Deductible amount (`deductible_amount`, number): How much of it is tax-deductible. At least 0.
- Fees paid (`fees_paid`, number): Fees the donor chose to cover on top of the gift. At least 0.
- Paid by (`account_type`, text): How it was paid. One of: `CREDIT_CARD` (Credit card), `ECHECK` (E-check).
- Dedication (`dedication_type`, text): Whether it honors or remembers someone. One of: `NONE`, `IN_HONOR_OF` (In honor of), `IN_MEMORY_OF` (In memory of).
- Dedicated to (`dedication`, text): Who the gift honors or remembers.
- Notify (`notify`, text): Who to tell about the dedication.
- Payment reference (`gateway_transaction_id`, text): The payment processor's transaction ID, if any.

**Outputs**

- `donation` (object): The donation recorded

**Example output**

```json
{
  "donation": {
    "activityId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
    "amount": 50.0,
    "appeal": "Mail appeal",
    "campaign": "Year End",
    "date": "2026-11-30T09:14:52.000Z",
    "fund": "General Fund",
    "result": "ADDED",
    "supporter": {
      "supporterId": "4b7f8a1e-3c2d-4e5f-9a8b-7c6d5e4f3a2b"
    },
    "type": "CHARGE"
  }
}
```

### Add supporter

Add a supporter with an email or a cell phone. A supporter who already has that email is updated instead.

**Inputs**

- Email (`email`, text): Email address. Give this or a cell phone.
- First name (`first_name`, text): First name.
- Last name (`last_name`, text): Last name.
- Email status (`email_status`, text): Whether they get your emails: opted in or opted out. One of: `OPT_IN` (Opted in), `OPT_OUT` (Opted out).
- Cell phone (`cell_phone`, text): Cell phone number.
- Text status (`text_status`, text): Whether they get your text messages. Needs a cell phone. One of: `OPT_IN` (Opted in), `OPT_OUT` (Opted out).
- Home phone (`home_phone`, text): Home phone number.
- Work phone (`work_phone`, text): Work phone number.
- Middle name (`middle_name`, text): Middle name.
- Title (`title`, text): Title, such as Dr. or Ms.
- Suffix (`suffix`, text): Name suffix, such as Jr.
- Gender (`gender`, text): Gender. One of: `Male`, `Female`, `Other`.
- Date of birth (`date_of_birth`, date): Date of birth.
- Address line 1 (`address_line1`, text): Street address.
- Address line 2 (`address_line2`, text): Apartment, suite or unit.
- City (`city`, text): City.
- State (`state`, text): State or province: a US state's two letters, such as NY, or an ISO 3166-2 code elsewhere, such as CA-ON.
- ZIP code (`postal_code`, text): ZIP or postal code.
- Country (`country`, text): Country's two-letter code, such as US.
- External ID (`external_id`, text): Their ID in another system, such as your CRM, to find them by later.
- Source tracking code (`source_tracking_code`, text): Where they came from, as your tracking codes name it.

**Outputs**

- `supporter` (object): The supporter saved, with result ADDED or UPDATED

**Example output**

```json
{
  "supporter": {
    "address": {
      "addressLine1": "12 Elm St",
      "city": "Albany",
      "country": "US",
      "postalCode": "12207",
      "state": "NY"
    },
    "cellPhoneOnly": false,
    "contacts": [
      {
        "status": "OPT_IN",
        "type": "EMAIL",
        "value": "maya@example.org"
      }
    ],
    "createdDate": "2026-11-28T15:02:11.000Z",
    "customFieldValues": [],
    "dateOfBirth": "1988-04-12T00:00:00.000Z",
    "externalSystemId": "CRM-1042",
    "firstName": "Maya",
    "gender": "Female",
    "lastModified": "2026-11-30T09:14:52.000Z",
    "lastName": "Ortiz",
    "middleName": "",
    "result": "ADDED",
    "sourceTrackingCode": "fall-drive",
    "suffix": "",
    "supporterId": "4b7f8a1e-3c2d-4e5f-9a8b-7c6d5e4f3a2b",
    "title": ""
  }
}
```

### Add supporters to segment

Add up to 20 supporters to a segment.

**Inputs**

- Segment (`segment_id`, text, required): The segment (group). Pick one, or give its ID.
- Supporter IDs (`supporter_ids`, list, required): The supporters' IDs, up to 20.

**Outputs**

- `count` (number): How many were done
- `failed` (list): The supporters it could not do, and why
- `segment_id` (text): The segment
- `supporters` (list): Each supporter, with Salsa Engage's result

**Example output**

```json
{
  "count": 1,
  "failed": [],
  "segment_id": "9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b",
  "supporters": [
    {
      "address": {
        "addressLine1": "12 Elm St",
        "city": "Albany",
        "country": "US",
        "postalCode": "12207",
        "state": "NY"
      },
      "cellPhoneOnly": false,
      "contacts": [
        {
          "status": "OPT_IN",
          "type": "EMAIL",
          "value": "maya@example.org"
        }
      ],
      "createdDate": "2026-11-28T15:02:11.000Z",
      "customFieldValues": [],
      "dateOfBirth": "1988-04-12T00:00:00.000Z",
      "externalSystemId": "CRM-1042",
      "firstName": "Maya",
      "gender": "Female",
      "lastModified": "2026-11-30T09:14:52.000Z",
      "lastName": "Ortiz",
      "middleName": "",
      "result": "ADDED",
      "sourceTrackingCode": "fall-drive",
      "suffix": "",
      "supporterId": "4b7f8a1e-3c2d-4e5f-9a8b-7c6d5e4f3a2b",
      "title": ""
    }
  ]
}
```

### Create segment

Create a segment: a list of supporters you can add people to and email.

**Inputs**

- Name (`name`, text, required): The segment's name, unique in Salsa Engage.
- Description (`description`, text): What the segment is for.
- External ID (`external_id`, text): The segment's ID in another system, if any.

**Outputs**

- `segment` (object): The new segment

**Example output**

```json
{
  "segment": {
    "description": "Everyone giving monthly",
    "externalSystemId": "",
    "groupType": "Static",
    "mailingList": false,
    "name": "Monthly donors",
    "result": "ADDED",
    "segmentId": "9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b",
    "totalMembers": 214,
    "type": "CUSTOM"
  }
}
```

### Delete segment

Delete a segment. Its supporters stay in Salsa Engage.

**Inputs**

- Segment (`segment_id`, text, required): The segment (group). Pick one, or give its ID.

**Outputs**

- `deleted` (true/false): True once it is gone
- `result` (text): Salsa Engage's answer, DELETED
- `segment_id` (text): The segment deleted

**Example output**

```json
{
  "deleted": true,
  "result": "DELETED",
  "segment_id": "9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b"
}
```

### Delete supporter

Delete a supporter from Salsa Engage.

**Inputs**

- Supporter ID (`supporter_id`, text, required): The supporter's Salsa Engage ID, from 'Search supporters' or an earlier step.

**Outputs**

- `deleted` (true/false): True once it is gone
- `result` (text): Salsa Engage's answer, DELETED
- `supporter_id` (text): The supporter deleted

**Example output**

```json
{
  "deleted": true,
  "result": "DELETED",
  "supporter_id": "4b7f8a1e-3c2d-4e5f-9a8b-7c6d5e4f3a2b"
}
```

### Get API usage

See the token's limit of calls a minute, how many are left now, and how many reads and writes it has made.

**Inputs**: None.

**Outputs**

- `usage` (object): The token's limits and counts

**Example output**

```json
{
  "usage": {
    "currentRateLimit": 297,
    "lastAPICall": "2026-11-30T09:14:52.000Z",
    "maxBatchSize": 20,
    "rateLimit": 300,
    "supporterAdd": 61,
    "supporterRead": 812,
    "supporterUpdate": 140,
    "totalAPICallFailures": 4,
    "totalAPICalls": 1532
  }
}
```

### Get email results

See who an email went to and whether each person opened it, clicked, bounced or unsubscribed, 20 people at a time.

**Inputs**

- Email ID (`email_id`, text, required): The email's ID, from 'Search emails'.
- Series message ID (`message_id`, text): For an email series: one message's ID, from the email's components.
- Next page (`cursor`, text): The 'next_cursor' of an earlier step, to read the next 20 people.
- How many (`count`, number): How many people to return, up to 20. Defaults to 20. From 1 to 20.

**Outputs**

- `count` (number): How many people are listed
- `email_id` (text): The email
- `name` (text): The email's name
- `next_cursor` (text): Give this as 'Next page' to read the next people
- `recipients` (list): Each person it went to, with what they did

**Example output**

```json
{
  "count": 1,
  "email_id": "5e6f7a8b-9c0d-4e1f-2a3b-4c5d6e7f8a9b",
  "name": "November newsletter",
  "next_cursor": "eyJvZmZzZXQiOjIwfQ",
  "recipients": [
    {
      "bounceCategory": "",
      "clicked": false,
      "converted": false,
      "firstName": "Maya",
      "firstOpenDate": "2026-11-20T16:12:40.000Z",
      "lastName": "Ortiz",
      "opened": true,
      "status": "Delivered",
      "supporterEmail": "maya@example.org",
      "supporterId": "4b7f8a1e-3c2d-4e5f-9a8b-7c6d5e4f3a2b",
      "timeSent": "2026-11-20T15:00:04.000Z",
      "unsubscribed": false
    }
  ]
}
```

### Get segment

Read one segment, with how many supporters it has.

**Inputs**

- Segment (`segment_id`, text, required): The segment (group). Pick one, or give its ID.

**Outputs**

- `segment` (object): The segment

**Example output**

```json
{
  "segment": {
    "description": "Everyone giving monthly",
    "externalSystemId": "",
    "groupType": "Static",
    "mailingList": false,
    "name": "Monthly donors",
    "result": "FOUND",
    "segmentId": "9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b",
    "totalMembers": 214,
    "type": "CUSTOM"
  }
}
```

### Get supporter

Read one supporter's details, contacts, address and custom fields.

**Inputs**

- Supporter ID (`supporter_id`, text, required): The supporter's Salsa Engage ID, from 'Search supporters' or an earlier step.

**Outputs**

- `supporter` (object): The supporter

**Example output**

```json
{
  "supporter": {
    "address": {
      "addressLine1": "12 Elm St",
      "city": "Albany",
      "country": "US",
      "postalCode": "12207",
      "state": "NY"
    },
    "cellPhoneOnly": false,
    "contacts": [
      {
        "status": "OPT_IN",
        "type": "EMAIL",
        "value": "maya@example.org"
      }
    ],
    "createdDate": "2026-11-28T15:02:11.000Z",
    "customFieldValues": [],
    "dateOfBirth": "1988-04-12T00:00:00.000Z",
    "externalSystemId": "CRM-1042",
    "firstName": "Maya",
    "gender": "Female",
    "lastModified": "2026-11-30T09:14:52.000Z",
    "lastName": "Ortiz",
    "middleName": "",
    "result": "FOUND",
    "sourceTrackingCode": "fall-drive",
    "suffix": "",
    "supporterId": "4b7f8a1e-3c2d-4e5f-9a8b-7c6d5e4f3a2b",
    "title": ""
  }
}
```

### List custom fields

List the organization's custom fields for supporters and form activity, with their answer options.

**Inputs**

- For (`field_type`, text): Only supporter fields or only activity fields. One of: `Supporter` (Supporter fields), `Activity` (Activity fields).
- Skip (`offset`, number): How many results to skip, to read the next page. Defaults to 0. At least 0.
- How many (`count`, number): How many to return, up to 20. Defaults to 20. From 1 to 20.

**Outputs**

- `count` (number): How many are on this page
- `custom_fields` (list): The custom fields
- `offset` (number): How many were skipped
- `total` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "custom_fields": [
    {
      "activityType": "",
      "answerOptions": [
        "Events",
        "Phone bank"
      ],
      "dataType": "Text",
      "description": "",
      "fieldName": "Volunteer interest",
      "fieldType": "Select",
      "id": "7a8b9c0d-1e2f-4a3b-4c5d-6e7f8a9b0c1d",
      "parameterName": "volunteer_interest",
      "type": "Supporter"
    }
  ],
  "offset": 0,
  "total": 1
}
```

### List donation transactions

List the charges and refunds behind donations, including each recurring payment, since a time or for one supporter, form or donation.

**Inputs**

- From (`transaction_from`, date and time): Transactions at or after this time.
- Until (`transaction_to`, date and time): Transactions up to this time.
- Supporter ID (`supporter_id`, text): Only this supporter's. Use one ID filter at a time.
- Form ID (`form_id`, text): Only those made on this donation form (its 36-character ID).
- Donation ID (`donation_id`, text): Only this donation's transactions (its ID from 'List donations').
- Skip (`offset`, number): How many results to skip, to read the next page. Defaults to 0. At least 0.
- How many (`count`, number): How many to return, up to 20. Defaults to 20. From 1 to 20.

**Outputs**

- `count` (number): How many are on this page
- `offset` (number): How many were skipped
- `total` (number): How many match in all
- `transactions` (list): The transactions

**Example output**

```json
{
  "count": 1,
  "offset": 0,
  "total": 1,
  "transactions": [
    {
      "activityFormId": "6f5e4d3c-2b1a-4f0e-9d8c-7b6a5f4e3d2c",
      "activityName": "Year-end appeal",
      "amount": 50.0,
      "createdDate": "2026-11-30T09:14:52.000Z",
      "deductibleAmount": 50.0,
      "feesPaid": 0.0,
      "supporterId": "4b7f8a1e-3c2d-4e5f-9a8b-7c6d5e4f3a2b",
      "templateId": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
      "transactionDate": "2026-11-30T09:14:52.000Z",
      "transactionId": "3d4e5f6a-7b8c-4d9e-0f1a-2b3c4d5e6f7a",
      "transactionType": "Charge",
      "wasOffline": false
    }
  ]
}
```

### List donations

List one-time and recurring donations made or changed since a time, or one supporter's or one form's.

**Inputs**

- Made since (`created_from`, date and time): Donations made at or after this time.
- Made before (`created_to`, date and time): Donations made up to this time.
- Changed since (`modified_from`, date and time): Donations changed (such as refunded) at or after this time.
- Changed before (`modified_to`, date and time): Donations changed up to this time.
- Supporter ID (`supporter_id`, text): Only this supporter's. Use one ID filter at a time.
- Form ID (`form_id`, text): Only those made on this donation form (its 36-character ID).
- Skip (`offset`, number): How many results to skip, to read the next page. Defaults to 0. At least 0.
- How many (`count`, number): How many to return, up to 20. Defaults to 20. From 1 to 20.

**Outputs**

- `count` (number): How many are on this page
- `donations` (list): The donations, with amounts, fund and campaign
- `offset` (number): How many were skipped
- `total` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "donations": [
    {
      "activityDate": "2026-11-30T09:14:52.000Z",
      "activityFormId": "6f5e4d3c-2b1a-4f0e-9d8c-7b6a5f4e3d2c",
      "activityId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
      "activityName": "Year-end appeal",
      "appealName": "Email appeal",
      "campaignName": "Year End",
      "createdDate": "2026-11-30T09:14:52.000Z",
      "designation": "",
      "donationType": "OneTime",
      "fundName": "General Fund",
      "lastModified": "2026-11-30T09:14:52.000Z",
      "oneTimeAmount": 50.0,
      "personId": "4b7f8a1e-3c2d-4e5f-9a8b-7c6d5e4f3a2b",
      "recurringAmount": 0.0,
      "recurringInterval": "",
      "templateId": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
      "totalReceivedAmount": 50.0
    }
  ],
  "offset": 0,
  "total": 1
}
```

### List segment members

List the supporters in a segment, newest or oldest first, optionally only those added since a time.

**Inputs**

- Segment (`segment_id`, text, required): The segment (group). Pick one, or give its ID.
- Added since (`joined_since`, date and time): Only supporters added to the segment at or after this time.
- Order (`sort_order`, text): By when they were added to the segment. One of: `descending` (Newest first), `ascending` (Oldest first).
- Skip (`offset`, number): How many results to skip, to read the next page. Defaults to 0. At least 0.
- How many (`count`, number): How many to return, up to 20. Defaults to 20. From 1 to 20.

**Outputs**

- `count` (number): How many are on this page
- `offset` (number): How many were skipped
- `supporters` (list): The members, with when they joined
- `total` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "offset": 0,
  "supporters": [
    {
      "address": {
        "addressLine1": "12 Elm St",
        "city": "Albany",
        "country": "US",
        "postalCode": "12207",
        "state": "NY"
      },
      "cellPhoneOnly": false,
      "contacts": [
        {
          "status": "OPT_IN",
          "type": "EMAIL",
          "value": "maya@example.org"
        }
      ],
      "createdDate": "2026-11-28T15:02:11.000Z",
      "customFieldValues": [],
      "dateOfBirth": "1988-04-12T00:00:00.000Z",
      "externalSystemId": "CRM-1042",
      "firstName": "Maya",
      "gender": "Female",
      "joinedDate": "2026-11-30T09:14:52.000Z",
      "lastModified": "2026-11-30T09:14:52.000Z",
      "lastName": "Ortiz",
      "middleName": "",
      "result": "FOUND",
      "sourceTrackingCode": "fall-drive",
      "suffix": "",
      "supporterId": "4b7f8a1e-3c2d-4e5f-9a8b-7c6d5e4f3a2b",
      "title": ""
    }
  ],
  "total": 1
}
```

### List segments

List the organization's segments (groups of supporters).

**Inputs**

- Count members (`include_member_counts`, true/false): On to include how many supporters each segment has.
- Skip (`offset`, number): How many results to skip, to read the next page. Defaults to 0. At least 0.
- How many (`count`, number): How many to return, up to 20. Defaults to 20. From 1 to 20.

**Outputs**

- `count` (number): How many are on this page
- `offset` (number): How many were skipped
- `segments` (list): The segments
- `total` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "offset": 0,
  "segments": [
    {
      "description": "Everyone giving monthly",
      "externalSystemId": "",
      "groupType": "Static",
      "mailingList": false,
      "name": "Monthly donors",
      "result": "FOUND",
      "segmentId": "9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b",
      "totalMembers": 214,
      "type": "CUSTOM"
    }
  ],
  "total": 1
}
```

### List supporter's segments

List the segments (groups) a supporter belongs to.

**Inputs**

- Supporter ID (`supporter_id`, text, required): The supporter's Salsa Engage ID, from 'Search supporters' or an earlier step.

**Outputs**

- `count` (number): How many segments
- `segments` (list): The segments they are in
- `supporter_id` (text): The supporter

**Example output**

```json
{
  "count": 1,
  "segments": [
    {
      "description": "Everyone giving monthly",
      "externalSystemId": "",
      "groupType": "Static",
      "mailingList": false,
      "name": "Monthly donors",
      "result": "FOUND",
      "segmentId": "9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b",
      "totalMembers": 214,
      "type": "CUSTOM"
    }
  ],
  "supporter_id": "4b7f8a1e-3c2d-4e5f-9a8b-7c6d5e4f3a2b"
}
```

### Merge supporters

Move all of one supporter's activity onto another and delete the first. This can't be undone; contact details aren't copied over.

**Inputs**

- Supporter to keep (`keep_supporter_id`, text, required): The ID of the supporter who stays and receives the activity.
- Supporter to merge away (`merge_supporter_id`, text, required): The ID of the duplicate whose activity moves over; it is deleted.

**Outputs**

- `merged_supporter_id` (text): The supporter merged away
- `result` (text): Salsa Engage's answer
- `supporter` (object): The supporter kept

**Example output**

```json
{
  "merged_supporter_id": "9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b",
  "result": "SUCCESS",
  "supporter": {
    "address": {
      "addressLine1": "12 Elm St",
      "city": "Albany",
      "country": "US",
      "postalCode": "12207",
      "state": "NY"
    },
    "cellPhoneOnly": false,
    "contacts": [
      {
        "status": "OPT_IN",
        "type": "EMAIL",
        "value": "maya@example.org"
      }
    ],
    "createdDate": "2026-11-28T15:02:11.000Z",
    "customFieldValues": [],
    "dateOfBirth": "1988-04-12T00:00:00.000Z",
    "externalSystemId": "CRM-1042",
    "firstName": "Maya",
    "gender": "Female",
    "lastModified": "2026-11-30T09:14:52.000Z",
    "lastName": "Ortiz",
    "middleName": "",
    "result": "FOUND",
    "sourceTrackingCode": "fall-drive",
    "suffix": "",
    "supporterId": "4b7f8a1e-3c2d-4e5f-9a8b-7c6d5e4f3a2b",
    "title": ""
  }
}
```

### Remove supporters from segment

Take up to 20 supporters out of a segment. They stay in Salsa Engage.

**Inputs**

- Segment (`segment_id`, text, required): The segment (group). Pick one, or give its ID.
- Supporter IDs (`supporter_ids`, list, required): The supporters' IDs, up to 20.

**Outputs**

- `count` (number): How many were done
- `failed` (list): The supporters it could not do, and why
- `segment_id` (text): The segment
- `supporters` (list): Each supporter, with Salsa Engage's result

**Example output**

```json
{
  "count": 1,
  "failed": [],
  "segment_id": "9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b",
  "supporters": [
    {
      "address": {
        "addressLine1": "12 Elm St",
        "city": "Albany",
        "country": "US",
        "postalCode": "12207",
        "state": "NY"
      },
      "cellPhoneOnly": false,
      "contacts": [
        {
          "status": "OPT_IN",
          "type": "EMAIL",
          "value": "maya@example.org"
        }
      ],
      "createdDate": "2026-11-28T15:02:11.000Z",
      "customFieldValues": [],
      "dateOfBirth": "1988-04-12T00:00:00.000Z",
      "externalSystemId": "CRM-1042",
      "firstName": "Maya",
      "gender": "Female",
      "lastModified": "2026-11-30T09:14:52.000Z",
      "lastName": "Ortiz",
      "middleName": "",
      "result": "DELETED",
      "sourceTrackingCode": "fall-drive",
      "suffix": "",
      "supporterId": "4b7f8a1e-3c2d-4e5f-9a8b-7c6d5e4f3a2b",
      "title": ""
    }
  ]
}
```

### Search emails

List email blasts and email series published in a time range, or read one by ID.

**Inputs**

- Published since (`published_from`, date and time): Emails published or scheduled at or after this time. Needed unless you give an email ID.
- Published before (`published_to`, date and time): Only those up to this time.
- Kind (`email_type`, text): Email blasts or email series. One of: `EMAIL` (Email blasts), `COMM_SERIES` (Email series).
- Email ID (`email_id`, text): Read this email by its ID instead.
- Skip (`offset`, number): How many results to skip, to read the next page. Defaults to 0. At least 0.
- How many (`count`, number): How many to return, up to 20. Defaults to 20. From 1 to 20.

**Outputs**

- `count` (number): How many are on this page
- `emails` (list): The emails
- `offset` (number): How many were skipped
- `total` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "emails": [
    {
      "components": [],
      "description": "",
      "id": "5e6f7a8b-9c0d-4e1f-2a3b-4c5d6e7f8a9b",
      "name": "November newsletter",
      "publishDate": "2026-11-20T15:00:00.000Z",
      "scheduleTime": "2026-11-20T15:00:00.000Z",
      "topic": "Newsletter"
    }
  ],
  "offset": 0,
  "total": 1
}
```

### Search form activity

Find form submissions (sign-ups, donations, petition signatures, letters, event registrations) made or changed since a time.

**Inputs**

- Changed since (`modified_from`, date and time): Submissions made or changed at or after this time. Needed unless you give activity IDs.
- Changed before (`modified_to`, date and time): Only those up to this time. Defaults to now.
- Type (`activity_type`, text): Only this kind of form. One of: `SUBSCRIBE` (Sign-up form), `SUBSCRIPTION_MANAGEMENT` (Subscription change), `FUNDRAISE` (Donation), `PETITION`, `TARGETED_LETTER` (Letter to a target), `REGULATION_COMMENTS` (Regulations.gov comment), `TICKETED_EVENT` (Ticketed event), `P2P_EVENT` (Peer-to-peer event), `FACEBOOK_AD` (Facebook ad).
- Form IDs (`form_ids`, list): Only submissions to these forms (their IDs).
- Supporter IDs (`supporter_ids`, list): Only these supporters' submissions.
- Activity IDs (`activity_ids`, list): Read these submissions by their IDs instead of by time.
- Skip (`offset`, number): How many results to skip, to read the next page. Defaults to 0. At least 0.
- How many (`count`, number): How many to return, up to 20. Defaults to 20. From 1 to 20.

**Outputs**

- `activities` (list): The submissions
- `count` (number): How many are on this page
- `offset` (number): How many were skipped
- `total` (number): How many match in all

**Example output**

```json
{
  "activities": [
    {
      "activityDate": "2026-11-30T09:14:52.000Z",
      "activityFormId": "6f5e4d3c-2b1a-4f0e-9d8c-7b6a5f4e3d2c",
      "activityFormName": "Save the River",
      "activityId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
      "activityType": "PETITION",
      "customFieldValues": [],
      "lastModified": "2026-11-30T09:14:52.000Z",
      "newSupporter": false,
      "personEmail": "maya@example.org",
      "personName": "Maya Ortiz",
      "supporterId": "4b7f8a1e-3c2d-4e5f-9a8b-7c6d5e4f3a2b",
      "trackingCode": "fall-drive"
    }
  ],
  "count": 1,
  "offset": 0,
  "total": 1
}
```

### Search supporters

Find supporters by email, by name or other text, by external ID, or by when their details last changed.

**Inputs**

- Email (`email`, text): Find the supporter with this email address.
- Search text (`search_text`, text): Text to look for in first name, last name and email. Two words search first and last name.
- External ID (`external_id`, text): Find the supporter with this ID from another system.
- Changed since (`modified_from`, date and time): Supporters whose details changed at or after this time.
- Changed before (`modified_to`, date and time): With 'Changed since': only those changed up to this time. Defaults to now.
- Skip (`offset`, number): How many results to skip, to read the next page. Defaults to 0. At least 0.
- How many (`count`, number): How many to return, up to 20. Defaults to 20. From 1 to 20.

**Outputs**

- `count` (number): How many are on this page
- `offset` (number): How many were skipped
- `supporters` (list): The supporters found
- `total` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "offset": 0,
  "supporters": [
    {
      "address": {
        "addressLine1": "12 Elm St",
        "city": "Albany",
        "country": "US",
        "postalCode": "12207",
        "state": "NY"
      },
      "cellPhoneOnly": false,
      "contacts": [
        {
          "status": "OPT_IN",
          "type": "EMAIL",
          "value": "maya@example.org"
        }
      ],
      "createdDate": "2026-11-28T15:02:11.000Z",
      "customFieldValues": [],
      "dateOfBirth": "1988-04-12T00:00:00.000Z",
      "externalSystemId": "CRM-1042",
      "firstName": "Maya",
      "gender": "Female",
      "lastModified": "2026-11-30T09:14:52.000Z",
      "lastName": "Ortiz",
      "middleName": "",
      "result": "FOUND",
      "sourceTrackingCode": "fall-drive",
      "suffix": "",
      "supporterId": "4b7f8a1e-3c2d-4e5f-9a8b-7c6d5e4f3a2b",
      "title": ""
    }
  ],
  "total": 1
}
```

### Update segment

Rename a segment or change its description.

**Inputs**

- Segment (`segment_id`, text, required): The segment (group). Pick one, or give its ID.
- Name (`name`, text): A new name, unique in Salsa Engage.
- Description (`description`, text): What the segment is for.
- External ID (`external_id`, text): The segment's ID in another system, if any.

**Outputs**

- `segment` (object): The segment saved

**Example output**

```json
{
  "segment": {
    "description": "Everyone giving monthly",
    "externalSystemId": "",
    "groupType": "Static",
    "mailingList": false,
    "name": "Monthly donors",
    "result": "UPDATED",
    "segmentId": "9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b",
    "totalMembers": 214,
    "type": "CUSTOM"
  }
}
```

### Update supporter

Change a supporter's name, contacts, opt-in statuses or address. Fields left empty are kept.

**Inputs**

- Supporter ID (`supporter_id`, text, required): The supporter's Salsa Engage ID, from 'Search supporters' or an earlier step.
- Email (`email`, text): A new email address.
- First name (`first_name`, text): A new first name.
- Last name (`last_name`, text): A new last name.
- Email status (`email_status`, text): Whether they get your emails: opted in or opted out. One of: `OPT_IN` (Opted in), `OPT_OUT` (Opted out).
- Cell phone (`cell_phone`, text): Cell phone number.
- Text status (`text_status`, text): Whether they get your text messages. Needs a cell phone. One of: `OPT_IN` (Opted in), `OPT_OUT` (Opted out).
- Home phone (`home_phone`, text): Home phone number.
- Work phone (`work_phone`, text): Work phone number.
- Middle name (`middle_name`, text): Middle name.
- Title (`title`, text): Title, such as Dr. or Ms.
- Suffix (`suffix`, text): Name suffix, such as Jr.
- Gender (`gender`, text): Gender. One of: `Male`, `Female`, `Other`.
- Date of birth (`date_of_birth`, date): Date of birth.
- Address line 1 (`address_line1`, text): Street address.
- Address line 2 (`address_line2`, text): Apartment, suite or unit.
- City (`city`, text): City.
- State (`state`, text): State or province: a US state's two letters, such as NY, or an ISO 3166-2 code elsewhere, such as CA-ON.
- ZIP code (`postal_code`, text): ZIP or postal code.
- Country (`country`, text): Country's two-letter code, such as US.
- External ID (`external_id`, text): Their ID in another system, such as your CRM, to find them by later.
- Source tracking code (`source_tracking_code`, text): Where they came from, as your tracking codes name it.

**Outputs**

- `supporter` (object): The supporter saved, with result UPDATED

**Example output**

```json
{
  "supporter": {
    "address": {
      "addressLine1": "12 Elm St",
      "city": "Albany",
      "country": "US",
      "postalCode": "12207",
      "state": "NY"
    },
    "cellPhoneOnly": false,
    "contacts": [
      {
        "status": "OPT_IN",
        "type": "EMAIL",
        "value": "maya@example.org"
      }
    ],
    "createdDate": "2026-11-28T15:02:11.000Z",
    "customFieldValues": [],
    "dateOfBirth": "1988-04-12T00:00:00.000Z",
    "externalSystemId": "CRM-1042",
    "firstName": "Maya",
    "gender": "Female",
    "lastModified": "2026-11-30T09:14:52.000Z",
    "lastName": "Ortiz",
    "middleName": "",
    "result": "UPDATED",
    "sourceTrackingCode": "fall-drive",
    "suffix": "",
    "supporterId": "4b7f8a1e-3c2d-4e5f-9a8b-7c6d5e4f3a2b",
    "title": ""
  }
}
```
