Skip to main content
A Lead represents a single inbound submission received through one of your lead connections, moving through processing toward becoming a project. Leads support full CRUD, plus processing and conversion, through the Leads endpoints.
id
string<uuid>

The lead's unique identifier.

Example:

"7c2e4f1a-9b3d-4e6c-8a1f-2d5b9c3e7a44"

tenant_id
integer

The id of your organization's account.

Example:

12

lead_connection_id
string<uuid>

The id of the lead connection this lead was submitted through.

Example:

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

transaction_id
string<uuid> | null

Groups every lead submitted in the same request. Filter List leads by filter[transaction_id] to retrieve them all.

Example:

"e1a4c9d2-6b7f-4a3e-9c8d-1f2b3a4c5d6e"

created_by
integer | null

The id of the user who submitted this lead. Null if not recorded.

Example:

1159

project_id
integer | null

The id of the project this lead was converted into. Null until the lead has been successfully converted.

status
enum<string>

The lead's current position in its lifecycle: queued — waiting to be processed; processing — actively being processed; needs-review — processing finished but the data failed validation and needs correction; ready — passed validation and can be converted into a project; error — processing failed unexpectedly; converting — actively being converted into a project; successful — has been converted into a project. See the Leads guide for the full lifecycle.

Available options:
queued,
processing,
needs-review,
ready,
error,
converting,
successful
Example:

"needs-review"

status_message
string | null

A human-readable description of the current status. Null if not set.

Example:

"This lead needs additional data before a project can be created."

received_at
string | null

Timestamp when the lead was received, formatted as YYYY-MM-DD HH:MM:SS. Null if not recorded.

Example:

"2025-02-10 09:15:03"

last_process_started_at
string | null

Timestamp when processing most recently started, formatted as YYYY-MM-DD HH:MM:SS. Null if the lead has never been processed.

Example:

"2025-02-10 09:15:05"

last_process_ended_at
string | null

Timestamp when processing most recently finished, successfully or not, formatted as YYYY-MM-DD HH:MM:SS. Null while processing is in progress or hasn't started.

Example:

"2025-02-10 09:15:07"

validation_errors
object | null

A map of field names to validation error messages, present when status is needs-review. Null otherwise.

derived_data
object | null

The structured fields extracted from the submitted data during processing. Null until the lead has been processed at least once.

data
object | null

The raw submitted lead data, parsed into key/value pairs. Field names are defined by your lead connection's field mapping. Edited with Update lead.

created_at
string

Timestamp when the lead was created, formatted as YYYY-MM-DD HH:MM:SS.

Example:

"2025-02-10 09:15:03"

updated_at
string

Timestamp when the lead was last updated, formatted as YYYY-MM-DD HH:MM:SS.

Example:

"2025-02-10 09:15:07"