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.
Signature
Section titled “Signature”function buildLeadBody(input: LeadInput, source: Partial<LeadSource>): stringParameters
Section titled “Parameters”| Name | Type | Required | Description |
|---|---|---|---|
input |
LeadInput |
required | |
source |
Partial<LeadSource> |
required |
Returns
Section titled “Returns”string