Light AIDocs Beta Open Light AI

API reference

POSTGoogle Ads lead form webhook

POST /v1/inbound/google-ads/{source_id}: Paste this URL and the source key into the lead form's webhook settings.

POSThttps://api.light-ai.app/v1/inbound/google-ads/{source_id}

Paste this URL and the source key into the lead form's webhook settings. Answers follow Google's retry rules: 200 on success, 400 for a bad key or malformed lead (not retried), 503 when Google should retry (never 429). is_test leads (Google's "Send test data") run in test mode.

CredentialThe source key, sent by Google as google_key in the payload.
Test modeWorks with test keys (test objects only).

Path parameters#

source_idstringrequired#
The inbound source id (src_…). Id prefix src_.

Request body#

Google Ads lead form webhook payload (user_column_data, google_key, lead_id, is_test, …).

Response 200#

Accepted.

Errors#

StatusMeaning
400Bad key or malformed lead (Google does not retry).
404Not found (also for objects of other organizations and for organizations without an active grant).
413Request bodies are limited to 256 KB.
503Temporarily unavailable (Google retries).