I would like to search ALL Subscribers on the basis of Subscriberkey and fetch a profile attribute 'ExternalId'

What AMPScript I can write for that? I don't think Lookup function works on All Subscribers.

  • Any suggestions?
    – Maneesh
    Apr 28, 2016 at 14:28

1 Answer 1


Correct - All subscribers is a list. You need to use the API Ampscript functions detailed here.

Specifically, you are looking for InvokeRetrieve. There is example code for pull a subscriber from a list with a simpleFilterPart.

  • Hi David, I read through it but not sure how I will be able to use it. Is it possible for you to share the AMPScript?
    – Maneesh
    Apr 27, 2016 at 18:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .