Skip to main content
A LeadFieldMap tells a lead connection how to translate one field in your submitted data (source) into a Contractors Cloud field (target). Field maps support full CRUD, plus automatic generation from an example lead, through the Field Maps endpoints.
id
string<uuid>

The field map's unique identifier.

Example:

"9e1f4a72-5c3d-4b8e-9a1f-6d2c8b4e7f10"

tenant_id
integer

The id of your organization's account.

Example:

12

lead_connection_id
string<uuid>

The id of the lead connection this field map belongs to.

Example:

"3f9a2b6c-1d4e-4a8b-9c2f-7e5d6a1b8c30"

source
string

The key or path in your submitted lead data that supplies this value. Use dot notation (for example address.city) to reach a value nested inside your submitted data.

Example:

"contact.email"

target
string

The Contractors Cloud field this value fills. See List available target fields for the fields your connection supports.

Example:

"email"

created_at
string | null

Timestamp when the field map was created, formatted as YYYY-MM-DD HH:MM:SS. Null if not recorded.

Example:

"2025-02-01 09:12:00"

updated_at
string | null

Timestamp when the field map was last updated, formatted as YYYY-MM-DD HH:MM:SS. Null if not recorded.

Example:

"2025-02-01 09:12:00"