Navigation Menu

Skip to content

ActiveCampaign/example-view_contact_details

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 

Repository files navigation

ActiveCampaign Custom API Script: View a contact's details including list subscriptions, custom field data, recent actions, and campaign history.

This script is intended to get you going with our API by providing an interface to view contact data. You are free to customize the script to your liking.

Requirements

  1. Our PHP API library
  2. A web server where you can run PHP code

Installation and Usage

You can install example-view_contact_details by downloading (or cloning) the source.

Input your ActiveCampaign URL and API Key at the top of the script. Example below:

$api_url = "https://ACCOUNT.api-us1.com";
$api_key = "4f3c6d12f0.....00ca273778dc893";

Also make sure the path to the PHP library is correct:

require_once("../../activecampaign-api-php/includes/ActiveCampaign.class.php");

Quick Overview

Load the URL with the contact hash as a parameter (you can obtain the hash using the contact_view API method):

http://mysite.com/view_contact_details/index.php?hash=[HASH]

Documentation and Links

Reporting Issues

We'd love to help if you have questions or problems. Report issues using the Github Issue Tracker or email help@activecampaign.com.

About

View a contact's details including list subscriptions, custom field data, recent actions, and campaign history

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages