Create a new campaign

https://areamembri.it/campaigns/create.json

Subscribes a new user to an existing campaign.

Parameters:

api_user The provided API User credential for your account.
api_key The provided API Key credential for your account.
business_id The project ID you want to query in.
name The name of the campaign.
nicename

(optional)

An URL friendly nicename for the campaign. Only lowercase ISO letters (a to z without any punctuation, numbers and hyphens (-) are allowed). If not provided, it will automatically be generated from the campaign’s name.
description

(optional)

A textual description for the campaign.
default_from_name

(optional)

The default from name for the campaign’s followups.
default_from_email

(optional)

The default from email for the campaign’s followups.
allow_repeated

(optional)

Whether it’s allowed to have repeated emails subscribed on the campaign or not.

Return:

An object, containing the details for the campaign, or error details if the campaign could not be created.