Coder Social home page Coder Social logo

Comments (9)

mthommes avatar mthommes commented on June 2, 2024

Hi - my suggestion is this (hopefully it will work fine for you):

  1. Create an Advanced Search segment through the ActiveCampaign UI (on the Contacts page) using whatever conditions you need.
  2. Use that segment ID in the API URL, IE: &filters[segmentid]=2

Let me know if that doesn't work.

from activecampaign-api-php.

Pooldipmuhammad avatar Pooldipmuhammad commented on June 2, 2024

Hi,

  1. Can You please guide me how i can create segment using UI because i have not find any way to create segment.
  2. I have perform all the operations using API i have no access for all users accounts so how i can create segments using UI.
  3. Please Just Guide me or send me function that will help me to find today add contact using api.

Hopefully you can help me with code example not refer to Ui.

from activecampaign-api-php.

mthommes avatar mthommes commented on June 2, 2024

On the Contacts page click the "Search contacts" box in the upper-right section. Then click "Advanced Search." After adding conditions and clicking "Search" the URL should show ?segmentid=123. Copy that unique ID and use that for the segment ID.

Let us know if that doesn't answer your question.

from activecampaign-api-php.

srdjevic avatar srdjevic commented on June 2, 2024

Unfortunately you can not use segments if you can not create them through the UI first. There are no API calls to manage segments due to their complexity -- they have to be built using our interface.

If you are a main admin user on your account (username "admin"), and have other users in the system, you can use "admin|otherusernamehere" as your username and your admin password to log into the system as that user to setup the segment.

from activecampaign-api-php.

Pooldipmuhammad avatar Pooldipmuhammad commented on June 2, 2024

Hi,

I think you misunderstand my question.
My Question:

Please Just Guide me or send me function that will help me to find today add contact using api.
Hopefully you can help me with code example not refer to Ui.

So Please just tell api having any method that will return today added contact.

Thanks

Hasan

from activecampaign-api-php.

mthommes avatar mthommes commented on June 2, 2024

Hi, are you looking for this?

from activecampaign-api-php.

Pooldipmuhammad avatar Pooldipmuhammad commented on June 2, 2024

Hi,

am looking for this one

http://www.activecampaign.com/api/example.php?call=contact_list

with these filters

date/time string
//'filters[datetime]' => '2009-10-22',

// Contacts *since* a specified date in the past (set status param): exact match - provide MySQL-formatted date/time string
//'filters[since_datetime]' => '2009-10-22 00:00:00',

These filters not working

from activecampaign-api-php.

mthommes avatar mthommes commented on June 2, 2024

Hi - there are issues with using filters other than segmentid (mainly server-related to giant lookups in our system), so our recommended approach is to use a segment for now (as I mentioned in my initial reply). We will investigate and see if we can improve the other filter issues.

from activecampaign-api-php.

joshua-chavanne avatar joshua-chavanne commented on June 2, 2024

It would be super helpful if these methods and the general usage of more advanced functionality of the API wrapper would be given in further examples. The code examples without using the API wrapper are really great, but the usage of routing in the API wrapper commands could really use a nice article!

Got my use case going and may report back when I am done with my work, but ultimately a few more examples of querying against the list functionality for different endpoints would have been useful.

Cheers.

from activecampaign-api-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.