Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The variables in the querystring can use any name. You set the variable name when creating the Parameters for the webhook in the MailUp admin console.
  • You may encrypt the data passed in the callback. In the querystring shown above, the data is not encrypted.
  • Dates are passed in the ISO format (YYYY-MM-DD)

...

Unsubscribing a recipient in a different list

One of the uses for Webhooks is to trigger an unsubscribe in a different List within your account. For example, let's say that you make an API call to unsubscribe a recipient from List 1 using the xmlunsubscribe.aspx page, and then need the same recipient to also be unsubscribed from List 2. Instead of making multiple API calls, you can accomplish the same goal by using Webhooks. 

Create a new Webhook, and configure it as follows:

  • Name: enter a descriptive name
  • URL:

    Code Block
    http://[account_URL]//frontend/Xmlunsubscribe.aspx?ListGuid=[LIST_GUID]&List=[LIST_ID]

     

  • Type: Unsubscribe
  • Source: API
  • Parameters
    • email = [email] 

...