younifyd
Menu

Re Add Email Addresses To Email Distribution Lists

Re-add email addresses to email distribution lists

DELETE/apps/:app_key/unsubscribers/mass_delete

Use it in a workflow

  1. Add a step and choose the Yotpo connector.
  2. Pick the Re Add Email Addresses To Email Distribution Lists action (under Reviews & Ratings).
  3. Fill in the fields below, then reference the result from later steps as {{reAddEmailAddressesToEmailDistributionLists.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

utokenstringrequired

Your Yotpo account access token. See [Yotpo Authentication](https://apidocs.yotpo.com/reference#yotpo-authentication) to learn how to generate your utoken.

email_listobject

Hash of emails by email type containing email type and list of emails.

email_typeobject1 fields

Email type

asyncboolean

Perform subscription changes asynchronously.

validate_datastring

Validate the email_list. You can only use this parameter with async.

json
{
  "utoken": "string",
  "email_list": {
    "email_type": {
      "email": [
        "string"
      ]
    }
  },
  "async": false,
  "validate_data": "string"
}

Response

Returns 200 with an object. Read it in later steps with {{reAddEmailAddressesToEmailDistributionLists.response.data.<field>}}.

statusobject
codeinteger

Default 0

messagestring
responseobject
unsubscribersarray<object>4 fields
json
{
  "status": {
    "code": 200,
    "message": "OK"
  },
  "response": {
    "unsubscribers": [
      {
        "id": 18637,
        "user_email": "test@gmail.com",
        "email_type_id": 1,
        "unsubscribed_by_name": "USER"
      }
    ]
  }
}

Need more? See the Yotpo guide for connection setup and behaviour shared by every action.

Was this page helpful?
Re Add Email Addresses To Email Distribution Lists — Yotpo — Documentation