Website API

Create a new topic lead (with errors)

Creates a new topic lead for General Assembly's admissions team.

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

Parameters

Name Description
name Name
email Email Address
ip_address IP Address
submission_url The URL where the form was submitted from
phone Phone Number
visitor_id Visitor ID
opt_in Whether or not to send marketing emails (boolean)

Request

Headers

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

Route

POST /api/v1/website/topic_leads

Response

Headers

Content-Type: application/json

Status

422

Body