Affiliates API

Create a new prospect (with errors)

Creates a new marketing prospect for General Assembly's marketing team.

Returns a JSON object of errors if any parameter validations failed.

Parameters

Name Description
email Email
metro Metro
ip_address IP Address
lists Marketing lists that the prospect should be added to
source_campaign Source Campaign
source_campaign_category Source Campaign Category
topics Topics that the prospect expressed interest in
event Event to be triggered on the prospect after submission
data Hash containing additional data about the prospect
visitor_id Vistor ID

Request

Headers

Authorization: [your_auth_token]
Accept: application/json
Content-Type: application/x-www-form-urlencoded

Route

POST /api/v1/affiliates/prospects

Response

Headers

Content-Type: text/html;charset=utf-8

Status

422

Body