Resources
Downloads
The OpenAPI document, the Postman collection and importable n8n workflow templates.
| File | What it is |
|---|---|
| openapi.json | OpenAPI 3.1 for API version 2026-11-01: every endpoint, schema, error code and webhook. |
| light-ai.postman_collection.json | Postman collection. Set the LIGHT_AI_API_KEY variable to a lai_test_… key to start. |
| llms.txt · llms-full.txt | The docs for AI assistants: an index and the full text. |
n8n templates#
In n8n: Workflows → Import from file, then set the credentials named in the yellow note. Each template is a starting point; run one test item through it before activating.
| Template | Flow |
|---|---|
| Meta Lead Ads → Light AI | Facebook Lead Ads Trigger → map fields → POST /v1/leads (idempotent on the Meta lead id). |
| Google Local Services Ads → Light AI | Every 15 minutes: query local_services_lead through the Google Ads API → POST /v1/leads (idempotent on the LSA lead id). |
| Quote approved → HubSpot | Light AI webhook (verified) → create a closed-won HubSpot deal → write the deal id back to the project. |
| Quote approved → HighLevel | Light AI webhook (verified) → upsert the HighLevel contact with a "light-ai-approved" tag in the location named by the grant. |
| Quote approved → Jobber | Light AI webhook (verified) → create the Jobber client through GraphQL → write the client id back to Light AI. |