cancel
Showing results for 
Search instead for 
Did you mean: 
You deserve the best.
Beginning Saturday 2/15 we will be upgrading our phone system to ensure we are providing you with the best possible experience.
Due to this upgrade, we will be limited to Chat support only on Saturday from 10-8 pm ET.
On Monday, President's Day, we plan to have both Chat and Phone support available from 10-6 pm ET on the new system.
Thank you for your patience while we make these important updates.

CC API contact submission not all emails are getting through

Highlighted
Occasional Contributor

CC API contact submission not all emails are getting through

Hello,

 

I have a cURL based API submission page that shoots emails to one of the contact lists on my account. Out of tested 5 emails only 3 went through. What could be causing this?

2 REPLIES 2
Honored Contributor

Re: CC API contact submission not all emails are getting through

Hello,

 

With the symptoms you have described, there are a couple of potential causes that are more likely than others:

  • You are attempting to create a contact which already exists. In this scenario, you would need to test if the contact exists and then either update the contact or create a new contact
  • There may be an issue with validity of the contact data that is being sent

One thing that you can do to help with isolating the issue is to check for the response to your CURL request though PHP and collect the HTTP status code that is returned. If there is an error when adding a contact, there will be an error message and corresponding status code sent as a response.

 

If you are able to get this error message and status code, we should be able to give you further assistance with getting this resolved.

 

Best Regards,

Elijah G.
API Support Engineer
Highlighted
Occasional Contributor

Re: CC API contact submission not all emails are getting through

Thank you for your reply, it was very helpful.