Using subscriberExists always returns 401

Occasional Contributor

Using subscriberExists always returns 401

Using code suggested by your team, I am trying to check for the existence of an email addres. However, the only result I receive back is a 401.


Here is the code I'm using:

$response = $ConstantContact->subscriberExists($emailAddress);
if ($response == false)
  //Contact does not exist
echo "Invalid Email Address"; } else { //Contact does exist
echo $response; }


and here is the response:

The requested URL returned error: 401

CTCT Employee

Re: Using subscriberExists always returns 401

See response here:

Andrew Weber
Associate Product Manager for EventSpot
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact Would Like To Hear From You!

We want to hear from customers like you about your favorite features and how they have helped your business or organization. Tell us by answering a few questions in...

Read More