Tip: Using the API to Edit Subscriber Custom Fields

Our Email Marketing API allows you to interact with the software from another system.

One common integration is modifying subscriber custom fields when editing users in other applications. This keeps the information in sync across both databases.

You’ll need some programming skills to achieve this, and familiarity with your external system. When you’re ready to sync user/subscriber data to your Email Marketing software, just follow these steps:

  1. Call subscriber_view to obtain the subscribers’ information.
  2. Loop through their existing custom fields, and obtain the dataid for each:
  3. Call subscriber_edit, and include the new custom field values, like this:
    'field[7,5]' => 'value here'

    In this example, 7 is the custom field ID, and 5 is the data ID. You need the data ID to modify custom field values.

Please let us know if you have any questions, problems, or improvements for this.

A trial is worth a thousand words.
Get started today, no credit card required.