Skip to content

mwolf1989/activecampaign

Repository files navigation

ActiveCampaign

Golang wrapper for the ActiveCampaign API

Installation

go get github.com/mwolf1989/activecampaign

Usage

	aclient, err := activecampaign.New("<API>, "<Key>")
	if err != nil {
		panic(err)
	}
	//Create a new customer
	customer, err := aclient.ContactCreate(context.Background(), activecampaign.ContactCreate{
	FirstName: "John",
	LastName:  "Doe",
	Email:     "test@mail.com",
})