GoHighLevel webhook event

LCEmailStats

Called whenever an email is sent, gives the statistics of the said email. GoHighLevel POSTs a JSON body carrying 4 top-level fields to your subscribed URL; the full shape is below.

How to receive it

Webhook events are delivered to the URL configured on your marketplace app as an HTTP POST with a JSON body. Acknowledge quickly with a 2xx and do the real work asynchronously — a slow handler shows up as a delivery failure. Events carry no ordering guarantee, so keep handlers idempotent and key them off the IDs in the payload rather than arrival order.

Payload fields

The JSON body POSTed to your webhook URL. Nested objects are shown indented under their parent.

NameTypeDescription
typestring
locationIdstring
companyIdstring
webhookPayloadobject
eventstring
idstring
timestampinteger
flagsobject
is-authenticatedboolean
is-routedboolean
is-bigboolean
is-system-testboolean
is-test-modeboolean
messageobject
attachmentsarray
headersobject
message-idstring
fromstring
tostring
sizeinteger
log-levelstring
recipientstring
recipient-domainstring
tagsarray
recipient-providerstring
campaignsarray
delivery-statusobject
attempt-nointeger
codeinteger
messagestring
descriptionstring
session-secondsnumber
enhanced-codestring
mx-hoststring
utf8boolean
i-first-delivery-attempt-secondsnumber
envelopeobject
senderstring
targetsstring
transportstring
sending-ipstring
i-ip-pool-idstring
i-ip-pool-namestring

Skip the schema lookup

Handling LCEmailStats usually means calling back into the GoHighLevel API to enrich or act on what changed. Hylo gives your AI agent every endpoint schema it needs for that second half — and can execute the call against your own sub-account.

Other webhook events