Skip to content

Get the Google Ads lead form webhook

GET
/api/v1/ads/lead-forms
curl --request GET \
--url https://digize.com/api/v1/ads/lead-forms \
--header 'x-api-key: <x-api-key>'

The webhook URL and key Google Ads lead forms deliver to, and the last 20 leads they sent, test ones too.

Needs the settings:read permission.

Done

Media typeapplication/json
object
webhookUrl
required

Paste into a lead form’s delivery settings in Google Ads.

string
key
required
Any of:
object
hint
required
string
createdAt
required
string format: date-time
recent
required
Array<object>
object
id
required

Google’s lead_id.

string
test
required

Sent by the lead form’s test button; it made no contact.

boolean
name
required
string | null
email
required
string | null
phone
required
string | null
formId
required
string | null
campaignId
required
string | null
gclid
required
string | null
contactId
required
string | null
submittedAt
required
string format: date-time

Example generated

{
"webhookUrl": "example",
"key": {
"hint": "example",
"createdAt": "2026-04-15T12:00:00Z"
},
"recent": [
{
"id": "example",
"test": true,
"name": "example",
"email": "example",
"phone": "example",
"formId": "example",
"campaignId": "example",
"gclid": "example",
"contactId": "example",
"submittedAt": "2026-04-15T12:00:00Z"
}
]
}

What was sent isn’t valid (invalid).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

No key, or one that’s unknown, off or expired.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

The key doesn’t have the permission this needs.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Nothing has that id (not_found).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Over the rate limit; see retry-after.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}