This page documents the canonical HTTP contract for this endpoint.
Provide exactly one destination. The compatibility field fields is accepted by the request model but any non-empty value is rejected. The handler queues a durable materialization and returns its JSON receipt.
Body parameters
selectionrequiredobject
BulkLeadsSelectionRequest; lead_ids or supported selection criteria.
tableName· optionalstring
Supply exactly one of tableName or destination_table_id.
destination_table_id· optionalstring
fields· optionalarray<string>
Non-empty values are rejected; table columns use the standard Lead/Company schema.
research_field_ids· optionalarray<string>
allow_mixed_grain· optionalboolean
find_emails· optionalboolean
find_mobile· optionalboolean
expected_matched_count· optionalinteger
1–5,000 when provided.
| Name | Type | Description |
|---|---|---|
| selectionrequired | object | BulkLeadsSelectionRequest; lead_ids or supported selection criteria. |
| tableName | string | Supply exactly one of tableName or destination_table_id. |
| destination_table_id | string | - |
| fields | array<string> | Non-empty values are rejected; table columns use the standard Lead/Company schema. |
| research_field_ids | array<string> | - |
| allow_mixed_grain | boolean | - |
| find_emails | boolean | - |
| find_mobile | boolean | - |
| expected_matched_count | integer | 1–5,000 when provided. |
Errors
| Status | Meaning |
|---|---|
| 401 | Missing or invalid authentication. |
| 403 | All five scopes are required. |
| 422 | Provide exactly one destination; non-empty fields are no longer supported. |
