Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9007807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T01:47:20+00:00 2026-06-16T01:47:20+00:00

I am using icontact api 2.0 for integrating the icontact list in my site.

  • 0

I am using icontact api 2.0 for integrating the icontact list in my site.
I face an issue with creating new list and adding new message its not create any list using the API.But i can create contact and subscribe and so on..
Code used is

require_once('lib/iContactApi.php');


// Give the API your information
iContactApi::getInstance()->setConfig(array(
    'appId'       => 'my_APIID', 
    'apiPassword' => 'my_password', 
    'apiUsername' => 'my_username'
));

// Store the singleton
$oiContact = iContactApi::getInstance();

$oiContact->addList('test', 4424, true, false, false, 'Just an example list',"test");

$oiContact->addMessage('An Example Message', 585, '<h1>An Example Message</h1>', 'An Example Message', 'ExampleMessage', 33765, 'normal');
// Schedule send
$oiContact->sendMessage(array(33765), 179962, null, null, null, mktime(0, 0, 0, 10, 03, 2012));

Also checked some help but not found any soulution
http://www.softwareprojects.com/resources/programming/t-icontact-20-api-integration-php-example-1925.html

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T01:47:21+00:00Added an answer on June 16, 2026 at 1:47 am

    The problem is probably on the second parameter to addList

    $oiContact->addList('test', 4424, true, false, false, 'Just an example list',"test");
    

    4424 – has to be a valid message id that already exists for one of your list, if you go to your icontact dashboard and create a welcome message for one of your list and then edit it, you will see on the url an “iMessageId” parameter. You can use this as the second parameter and it should work.

    https://app.sandbox.icontact.com/icp/core/code/message/edit/?token=ff1a8748b08088d41e69215c75295c98&iMessageId=1979804&sHubId=41254750ca180a4e7b3

    ref: http://developer.icontact.com/documentation/lists/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using a CSS image sprite, I'm creating an 'interactive' image where hovering over certain
Using System.Diagnostics.EventLog .NET type one can programmatically create logs into the Event Viewer application.
@using(Html.BeginForm(About, User, FormMethod.Post , new { id=aboutme})) { <fieldset> <ul> <li> <label class=block>About me</label>
I am using php and mysql. And my site is in flash (full flash
Using NLTK and WordNet , how do I convert simple tense verb into its
I've implemented recaptcha on my site using the default red style and it displays
I'm experimenting with Amazon SimpleDB (using Rick Helms' PHP API ) and I've noticed
I'm generating an utf-8 XML file using XDocument . XDocument xml_document = new XDocument(
Using CSS, how can I create a partial border as per image below I
Using Phonegap with its SQL function, I get my query returns in the form

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.