Website API

Create a new lead

Creates a new lead for General Assembly's admissions team. The lead can be associated with a program, subtopic, or topic (in that order of preference). If a metro_slug is not provided, the lead will be geolocated based on ip_address.

Parameters

Name Description
name Name
email Email Address
phone Phone Number
lead_source The source where this lead was generated
program_slug The slug of the program that the lead expressed interest in
subtopic_slug The slug of the subtopic that the lead expressed interest in, if program is absent
topic_slug The slug of the topic that the lead expressed interest in, if program and subtopic are absent
metro_slug The slug of the metro that the lead expressed interest in
utm_source UTM Source
utm_campaign UTM Campaign
utm_medium UTM Medium
utm_content UTM Content
utm_term UTM Term
ip_address IP Address
submission_url The URL where the form was submitted from
visitor_id Visitor ID
opt_in Whether or not the user opted in to marketing emails (boolean)
source_campaign_category Source campaign category associated with lead form
source_campaign Source campaign associated with lead form
event Email marketing event for the prospect created by this lead form
metadata Marketing data
form_handler Pardot Form Handler identifier
instance_id Instance ID

Request

Headers

Authorization: [your_auth_token]
Accept: application/json
Content-Type: application/json

Route

POST /api/v1/website/leads

Body

Response

Headers

Content-Type: application/json

Status

202