inspirum / active-campaign-php

Active Campaign v3 PHP Wrapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Active Campaign v3 PHP Wrapper

Unofficial PHP Wrapper for ActiveCampaign API v3.

Installation:

composer require inspirum/active-campaign-php

Basic usage:

Create a client:

$client = new Client(
    $api_url, 
    $api_token, 
    $event_tracking_actid, 
    $event_tracking_key
);

Select Contacts endpoint:

$contacts = new Contacts($client);

Create new contact:

$contact = $contacts->create([
    'email'     => 'CONTACT_EMAIL',
    'firstName' => 'CONTACT_FIRST_NAME',
    'lastName'  => 'CONTACT_LAST_NAME'
]);

Available endpoints:

  • Contacts
  • Deals
  • Lists
  • Organizations
  • EventTracking
  • SiteTracking

ActiveCampaign Developer Documentation

Official API docs: https://developers.activecampaign.com/reference

About

Active Campaign v3 PHP Wrapper

License:MIT License


Languages

Language:PHP 100.0%