Receiving Error 1007 when posting to API to add subscribers
Hello!.
I'm attempting to post contact information into the API from my lead distribution software when someone fills out one of our forms. It worked fine when I was just posting name and contact email, but once I added custom fields, I am receiving an error response that says Unauthorized request. Is there something I need to pass to allow adding custom fields to the subscriber list? Below is what I posted, many fields are blank, but that obviously shouldnt matter. I've made sure to triple check the authtoken and listkey for my account. The xxxx is just me masking my authtoken and listkey. I've also posted with and without spaces between the xml fields.
Request URL:
https://campaigns.zoho.com/api/xml/listsubscribe?authtoken=xxxx
Post Parameters:
scope=CampaignsAPI&version=1&resfmt=XML&listkey=xxxx&contactinfo=<xml> <fl val="First Name">Tim</fl> <fl val="Contact Email">dnky67@hotmail.com</fl> <fl val="dob"></fl> <fl val="ip_address">98.109.103.50</fl> <fl val="property_value"></fl> <fl val="mortgage_balance"></fl> <fl val="credit"></fl> <fl val="property_type"></fl> <fl val="mortgage_rate"></fl> <fl val="age"></fl> <fl val="spouse_age"></fl> <fl val="spouse_first_name"></fl> <fl val="spouse_dob"></fl> <fl val="loan_amount"></fl> <fl val="in_school"></fl> <fl val="student_loan_type"></fl> <fl val="credit_card_debt"></fl> <fl val="student_loan_debt"></fl> <fl val="employed"></fl> <fl val="current_paycheck_garnished"></fl> <fl val="current_irs_offset"></fl> <fl val="loans_in_default"></fl> <fl val="tax_debt_amount"></fl> <fl val="payment_program"></fl> <fl val="vertical">Student Loan</fl> <fl val="Last Name">Wise</fl> <fl val="Phone"></fl> <fl val="Address"></fl> <fl val="City"></fl> <fl val="State"></fl> <fl val="Zip Code"></fl> <fl val="Mobile"></fl> </xml>
Post Response
<?xml version="1.0" encoding="UTF-8" standalone="no"?><response uri="/api/xml/listsubscribe" version="1"><code>1007</code><status>error</status><message>Unauthorized request.</message></response>
Sticky Posts
Marketer's space - Understanding portal roles in the new user management system
Hello, As part of our new user management setup, we recently introduced portals and workspaces. Portals enable you to manage multiple products under a single brand within a single account. Workspaces are the spaces you can create within a portal for individual
Promote Campaigns on your LinkedIn Company page
Hello! We are happy to announce that Zoho Campaigns has further improved its integration with LinkedIn to provide more services. This time, we've come up with a new feature where you can promote your email and social campaigns on your LinkedIn company page. LinkedIn company page is a hub where followers are updated about the company, its products & services and of course new features & updates. It acts as a public portal for prospects, vendors and partners, etc. You can engage your followers
The much-awaited real-time sync between Zoho Campaigns and Zoho CRM is live.
Hello all, You don't have to wait for 24 hours to pull data from CRM to Campaigns anymore. Instantly bring subscriber data from contacts, leads, and custom modules and get going with your nurturing process right away. What has changed? We have two types of syncs now: Immediate and periodic. The UI: We have cut down on the number of steps for the sync from three to two. When to use which sync: Immediate Sync: When you want the data to get reflected in Campaigns as and when it is added in CRM.
Marketer's Space: Template Editor - Dynamic Content
Dynamic content has become an inevitable part of email marketing. It's basically the process of displaying content to your leads that is relevant to them based upon them matching a particular criteria you have set previously. To put it in simpler terms, it is the right content for the right people at the right time. How to use the dynamic content While creating an email campaign, you go on to select a pre-designed or basic template to add content, and then click Advanced --> Dynamic to create
Sending Autoresponders to Existing Contacts
Hello! In recent times, many of our users wanted to send Autoresponders to existing contacts. Since, these contacts existed already; they will never be receiving that message scheduled in the Autoresponders. But, is there really a way to push these Autoresponder message(s) to such existing contacts? Well, Zoho Campaigns has again come up with a solution for such request laid by many of our users. We are happy to announce the new enhancement on Autoresponders through which you can send the Autoresponder