API Guide
This guide outlines how to use our API to sync customer data between your systems and Ignite. First, contact support@launchlabs.ai to retrieve your website tokens and secrets.
Once you have obtained your website tokens and secrets, you can begin making API requests. The following sections provide the technical details you need to get started, including endpoint routes, required parameters, request formats, and example responses.
Request
Route: /api/websites
Method: GET
Required Params: agency_token agency_secret Provided in separate email
Format: JSON
Response
[
{"domain": "acme.com",
"url": "https://www.acme.com",
"reporting_label": null,
"name": "acme inc,
"token": "abc123",
"secret": "def456",
"street": "9025 Baltimore National Pike",
"city": "Ellicott City",
"state": "MD",
"zip": "21042",
"latitude": 39.2764525,
"longitude": -76.823071,
"industry": "automotive",
"tag_installed": true,
"phone": "(410) 670-5835",
"google_place_id": "ChIJeXze030fyIkRWksvoaL3l5c",
"default_lead_address": "internet-acme@leadacme.com",
"lead_settings": {
"SERVICE": [
{
"format": "ADF",
"address": "service@leadacme.com"
}
]
},
"direct_mail_credits": 0,
"website_provider": "dealeron",
"subscription_status": "expired"
}, //...
]Customer Post API
Request
Route: /webhooks/import_customer_data
Method: POST
Required Data: website_token, website_secret, customers
Format: JSON
Body:
{
"website_token": "abc123", // From Website list API
"website_secret": "def456", // From Website list API
"customers": [...] // Customer Data Object below
}Customer Data Object
{
"guid": "KXM-455",
"name": "John Smith",
"first_name": "John",
"last_name": "Smith",
"email": "js@email.com",
"phone": "222-333-4455",
"address": "33446 Widener Valley Rd",
"city": "Amityville",
"state": "NY",
"zip": "08212",
"product_purchased": "2022 Kia Rio",
"date_of_sale": "2023-04-01"
}Additional Info:
if a guide is provided for a customer we will attempt to find an existing customer, for that website, using the guide and update the information
if a guid is NOT provided we will attempt to find an existing customer, for that website, using the email and update the information
Date formats are flexible
