Quantcast
Channel: Developers - Community
Viewing all 479 articles
Browse latest View live

Help! Converting from Marketo to AC - NEED Developer help

$
0
0

@implementation wrote:

Website Developer has used custom fields on the website and in the theme for showing and submitting contact forms and embed Marketo into the theme of the website along with rules for submission. I am NOT a developer - I can see the Marketo coding throughout the theme files, style sheets etc but I don’t see the command that takes it back to Marketo. I need to swap out the Marketo info for the Active Campaign info but don’t know how exactly. I have embedded AC on many websites before but never encountered it embedded into the theme files. Anyone who is a developer -if you have 5-10 for me to ask a couple of questions?? I’m probably not asking the right question here.

Posts: 1

Participants: 1

Read full topic


Webhook Activecampaign

$
0
0

@mathirajesh90 wrote:

iam trying to get data from webhook while triggered at the time of contact updated, it’s simply shows

     error sending webhook data response 500

I have received the value in post method as in laravel $request->all();

Posts: 1

Participants: 1

Read full topic

Lists API v3

$
0
0

@1559570797 wrote:

Hello, i need to retrieve all my lists and their data using the API v3
i just tried it with postman but it give me only the first 20 lists while i have more than 30.

Here the parameters used:

GET : https://{ACCOUNT-NAME}.api-us1.com/api/3/lists
Header: Api-Token : {API KEY}

Any idea about what am I doing wrong?
Reading the documentations it doesn’t seem to be any parameters, is it incomplete?

here the link to the documentation

https://developers.activecampaign.com/reference#retrieve-all-lists

Posts: 1

Participants: 1

Read full topic

Date format for custom fields

$
0
0

@brandontest wrote:

Hello!

It seems that depending on something ActiveCampaign returns dates values in custom attributes using different formats. So far we’ve seen two:

  1. 2019-09-12
  2. 9/12/19

Is there a way to understand which format is used, so that we could parse the date value correctly?

Thanks,
Anton

Posts: 1

Participants: 1

Read full topic

400 Bad request error in API V3 contact tag add

$
0
0

@epc-tracker wrote:

Hello, I need to add a tag to a contact using API.

I’m using Active Campaign resources according to API V3 documentation (https://developers.activecampaign.com/reference#create-contact-tag), making a POST request and adding the params as query params:

https://xxx.api-us1.com/api/3/contactTags?contact=9&tag=2

I have added api token in headers. In fact, I have used the API successfully to get other resources like contacts or lists.

However, making the request i just receive a 400 Bad request status, including the error No tag id provided. I have checked both tag id and contact id exist.

Could someone help me with this problem, please? It seems that I’m not building properly the request but that is what I understand from the documentation.

Thanks in advance

Posts: 1

Participants: 1

Read full topic

Best way to create contact/customer from API

$
0
0

@newcraftgroup wrote:

Hi,

I’m looking to integrate an ecommerce platform with AC using the Deep Data Integration API. I got the logic to create the Customer and then the Order working properly, no issue there. However, when creating a Customer there seems to be no way to immediately pass data to the name and phone number fields or any custom fields.

If I understand the documentation correctly, I need to update the Contact to pass the name and phone number and then update each individual custom field value for the rest. Can anyone confirm if this is the case? Seems like it’s strange process.

Any advice is much appreciated!

Posts: 2

Participants: 2

Read full topic

Missing API call to list Tags on Contact?

$
0
0

@movelaughlearn wrote:

Hi there,

In the documentation it states that the API offers a way to get a list of all Tags belonging to a Contact… however I can see no such endpoint https://developers.activecampaign.com/reference#contact-tags - there doesn’t appear to be a list of Tags on the Contact if you retrieve the Contact either.

How do you get a list of the tags which a Contact has? I’m needing to dynamically remove and then add tags to a specific Contact through the API.

Thanks

Posts: 1

Participants: 1

Read full topic

Modified search custom field

$
0
0

@frankdeardurff wrote:

I have a guest of field that I’m needing to search “firstname lastname” AND “firstnamelastname” using API

For example promoter comes to form page and enters their name. I need a count of all selected lists that has his name. Issue is promoters are not always using correct format causing a space or no space between their names when being inserted.

Here is the snippet of code I’m using.Currently I can’t run both filters at the same time as it returns an error.
Curious if anyone has any ideas. - Thanks in advance.

'api_action'   => 'contact_list',
'api_output'   => 'serialize',

'filters[fields][%GUESTOF%]' => $myname,
//'filters[fields][%GUESTOF%]' => $mynames,

Posts: 1

Participants: 1

Read full topic


Getting error on ecomOrder post request

Launching a mobile app doesn't work by clicking a CTA button with a URI link

$
0
0

@urbee wrote:

When using this URI: ‘example://’ ActiveCampaign automatically removes the ‘:’ so most likely I’ve to create a custom HTML for this button. Any advise how to do it?

Posts: 1

Participants: 1

Read full topic

Automating "Export All Contacts" to Google Sheets

$
0
0

@centech1 wrote:

Hi guys, I’ve been trying to build some automated custom reports based on my contact list data using ActiveCampaign’s API and Google Sheets (ultimately to bring the data in Data Studio to format the reports).

I would like to automatically import in Google Sheets the same content that normally gets into the “Export” file that you can generated from the Contact tab – Namely : All standard fields + all custom fields + tags in a single field. All fields as columns and Contacts as data rows. (You can refer to this article for the function I’m referring to.).

I’ve been trying a Google Sheet Add-On called “API Connector” to get the data inside Google Sheets and followed the instructions available from the provider (Mixed Analytics) regarding that integration. https://mixedanalytics.com/knowledge-base/import-activecampaign-data-to-google-sheets/ . Although I’ve been able to get my entire list without running multiple queries (unlike they suggest) within a single query:

https://xxxxxx.api-us1.com/api/3/contacts?limit=0&offset=0

This method doesn’t provide me with the custom fields nor the tags from all contacts and instead gives me a link to the directory where they are.

I’m wondering if there would be a better way to write that query so that I can get the right data? Or if there’s another way to automate the export of my entire contact list (on a daily basis) into Google Sheets?

Any thoughts?

Cheers,

Posts: 1

Participants: 1

Read full topic

API Access Aggregated Revenue

$
0
0

@4knines wrote:

I’m trying this tuts using google script. I’m having a hard time getting the aggregateRevenues.

 campaigns[i]["aggregateRevenues"],  
 campaigns[i]["links"]["aggregateRevenues"],  

The first one returned as “undefined” yet the last one is showing a link. I am expecting a integer value showing the total revenue of the campaign. Is that possible? Thanks.

Posts: 4

Participants: 2

Read full topic

How to retrieve all contacts in a list / Bulk remove all contacts from a list

How I can make custom conditions in automation API

$
0
0

@getmumm wrote:

I have a custom field in contacts called “reminderTime” it is a datetime value string like that “2019-09-25 05:00:00”
Now I want to make an automation condition to send emails when time (now) equals the custom field value

Note that this custom field is changing not static… I update it every few hours for every contact

Posts: 1

Participants: 1

Read full topic

Create Contact with custom field values

$
0
0

@stjude wrote:

We are trying to create new Contact with APIv3 .Contact has some custom fields like Name.
Need to make two API calls one to create contact and another one to add custom field value.
Is there any way in one API call we can create Contact aswell with custom field Name.

Similarly, If we need to add the contact to some predefined list need to make another Rest call.

Can we do all together in one call createContact+add customField value + assign contact to list.

Posts: 1

Participants: 1

Read full topic


Vague Response from API v1 when using non-existent api_action

$
0
0

@themixingcrew wrote:

Posting this here to possibly help someone else in the future.
If you get “[result_message] => You are not authorized to access this file”
Check your ‘api_action’ in the $params array.
It can throw this result_message when you’re attempting to use an action that doesn’t exist. (ex: typo)

Posts: 1

Participants: 1

Read full topic

(Vlookup) Push Data from Google Sheets to AC

$
0
0

@KCW wrote:

Hello,

I am a newbie to APIs. But how can I do a vlookup of a AC contact in a Google sheet and update a certain custom field in AC if the contact exists in the Gsheet and there is data in a specific row in the GSheet (so like a vlookup).

Thank you !

Posts: 1

Participants: 1

Read full topic

How to sideload contactField values in /contacts

$
0
0

@bowtechbrands wrote:

I’m trying to view the custom field values in the /contacts endpoint but haven’t had any luck. I’ve tried many combinations of ?include=fieldValues, ?include=fieldValues.value but the only thing I’m getting back is an array of numbers, which seems difficult to reconcile with actual fields and values.

I’m able to follow the links to /api/3/contacts/<contact_id>/fieldValues, but this makes it seem that I’m going to have to make an extra request for every contact, which adds massive overhead and latency. I’m sure there’s something I’m overlooking but haven’t been able to figure out. Any help is appreciated!

Posts: 2

Participants: 2

Read full topic

Additional validation to form js

$
0
0

@newcraftgroup wrote:

For a particular field I want to include extra validation (11 test for Dutch social security number) and I was wondering if anyone knows where I need to add this in the standard form validation javascript from AC? It should stop the form submit and show an alert().

Thanks in advance!

Posts: 1

Participants: 1

Read full topic

Conversations Addons Session

$
0
0

@medispautomation wrote:

Hi,

I started yesterday the conversations addon to create a chat on my platform with Active Campaign.

I follow this link



to create my own chat snippet for my platform.

All the User of my platform have an account on Active Campaign, so when they login, the javascript associate the user email to the chat with

vgo('setEmail', 'Email_Address_Goes_Here')

and work!! The created chat is automatically associated to the right account of the User.

But now there is a problem: if the User changes, the new User is automatically associated to the previous chat, and i don’t want it :smiley:

On Active Campaign, the previous account is no more linked to that chat, which is instead linked to the account of User 2.

Since the user is already logged in, I blocked the insertion of the form for the email

Is there any solution to solve my problem?

Posts: 1

Participants: 1

Read full topic

Viewing all 479 articles
Browse latest View live