lists/subscribe (euid and leid)

1,530 views
Skip to first unread message

Michał Płonka

unread,
Feb 4, 2014, 2:18:33 AM2/4/14
to mailchimp-...@googlegroups.com
I have question about lists/subscribe method in API v2.0. How can I get euid and leid to call request properly? When I call this method having only 'email' key in 'email' structure I get reponse with euid and leid (and email too). Then I call this method again but this time with received euid and leid. Is there any way to get this values and call lists/subscribe only once? Now I have 2 requests to lists/subscribe:
1. Without euid and leid to get it from API.
2. With euid and leid from previous call (that same params + euid and leid).
Is 1st call really necessary? Can I get this values somehow and call list/subscribe only once? I don't find any API method to grab euid and leid for e-mail address.

MailChimp Support

unread,
Feb 5, 2014, 11:44:19 AM2/5/14
to mailchimp-...@googlegroups.com
To clarify, when the first subscribe call is made and a euid and leid is returned, this means that this person has just now been successfully added to your list (either as a subscriber if double_optin is false, or someone pending confirmation is double_optin is true).

You should *not* need to re-call subscribe with the euid and leid, as this euid and leid has already been created and associated with this email address in your list, and has simply been returned for your reference.

- Anna
Reply all
Reply to author
Forward
0 new messages