Skip to content
HomePagesHomePages template kit

buildLeadBody

Serialize the ingest request body.

Serialize the ingest request body. The returned string is signed AND sent verbatim — the signature covers these exact bytes, so it must never be re-serialized between signing and sending.

Import from @homepages/template-kit/browser.

function buildLeadBody(input: LeadInput, source: Partial<LeadSource>): string
Name Type Required Description
input LeadInput required
source Partial<LeadSource> required

string