Tool ID:
amplemarket_post_lead_listsRun this action
Use the TypeScript SDK for a single call. Putctx.tools.execute(...) inside a Play when the call should be durable, scheduled, or run across a CSV.
import { Deepline } from 'deepline';
const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
'amplemarket_post_lead_lists',
{
"shared": true,
"owner": "jane.doe@example.com",
"type": "linkedin",
"leads": [
{
"linkedin_url": "https://www.linkedin.com/in/jane-doe",
"email": "jane.doe@example.com",
"title": "VP of Engineering"
}
]
},
);
console.log(result.toolResponse.raw);
CLI
deepline tools execute amplemarket_post_lead_lists --input '{
"shared": true,
"owner": "jane.doe@example.com",
"type": "linkedin",
"leads": [
{
"linkedin_url": "https://www.linkedin.com/in/jane-doe",
"email": "jane.doe@example.com",
"title": "VP of Engineering"
}
]
}' --json
Example response
The SDK exposes this shape atresult.toolResponse.raw. Values below are representative.
{
"data": {
"id": "123e4567-e89b-42d3-a456-426614174000",
"object": "lead_list",
"name": "Example",
"status": "queued",
"url": "https://example.com",
"shared": true,
"visible": true,
"owner": "jane.doe@example.com",
"type": "linkedin",
"leads": [
{
"id": "123e4567-e89b-42d3-a456-426614174000",
"object": "lead_list_entry",
"email": "jane.doe@example.com",
"person_id": "123e4567-e89b-42d3-a456-426614174000",
"linkedin_url": "https://www.linkedin.com/in/jane-doe",
"linkedin": "https://www.linkedin.com/in/jane-doe",
"first_name": "Jane",
"last_name": "Doe",
"company_name": "Example Corp",
"company_domain": "example.com",
"industry": "example",
"title": "VP of Engineering",
"email_validation_result": {
"object": "email_validation_result",
"email": "jane.doe@example.com",
"result": "deliverable"
},
"data": {}
}
],
"_links": {
"self": {
"href": "example"
}
}
}
}
deepline tools get amplemarket_post_lead_lists --json for the latest machine-readable contract.
Input reference
Create Lead List| Name | Type | Required | Default | Details |
|---|---|---|---|---|
payload.name | string | No | — | — |
payload.shared | boolean | Yes | — | — |
payload.visible | boolean | No | — | — |
payload.owner | string | Yes | — | Format: email. |
payload.type | "linkedin" | "email" | "titles_and_company" | Yes | — | Allowed: linkedin, email, titles_and_company. |
payload.options | object | No | — | — |
payload.leads | array | Yes | — | You may send up to 10000 leads at a time. Maximum items: 10000. |
Output reference
Standard tool result payload.| Name | Type | Required | Default | Details |
|---|---|---|---|---|
result.data | object | Yes | — | Provider response payload. |
result.data.id | string | Yes | — | Format: uuid. |
result.data.object | "lead_list" | Yes | — | Allowed: lead_list. |
result.data.name | string | Yes | — | — |
result.data.status | "queued" | "processing" | "completed" | Yes | — | Allowed: queued, processing, completed. |
result.data.url | string | Yes | — | — |
result.data.shared | boolean | Yes | — | — |
result.data.visible | boolean | Yes | — | — |
result.data.owner | string | Yes | — | Format: email. |
result.data.type | "linkedin" | "email" | "title_and_company" | "name_and_company" | "salesforce" | "hubspot" | "person" | "adaptive" | Yes | — | Allowed: linkedin, email, title_and_company, name_and_company, salesforce, hubspot, person, adaptive. |
result.data.created_at | string | No | — | Format: date_time. |
result.data.updated_at | string | No | — | Format: date_time. |
result.data.options | object | No | — | — |
result.data.options.reveal_phone_numbers | boolean | Yes | — | — |
result.data.options.validate_email | boolean | Yes | — | — |
result.data.options.enrich | boolean | Yes | — | — |
result.data.leads | array | Yes | — | — |
result.data.leads[].id | string | Yes | — | Format: uuid. |
result.data.leads[].object | "lead_list_entry" | Yes | — | Allowed: lead_list_entry. |
result.data.leads[].email | string | Yes | — | Format: email. |
result.data.leads[].person_id | string | Yes | — | Format: uuid. |
result.data.leads[].linkedin_url | string | Yes | — | — |
result.data.leads[].linkedin | string | Yes | — | — |
result.data.leads[].first_name | string | Yes | — | — |
result.data.leads[].last_name | string | Yes | — | — |
result.data.leads[].company_name | string | Yes | — | — |
result.data.leads[].company_domain | string | Yes | — | — |
result.data.leads[].industry | string | Yes | — | — |
result.data.leads[].title | string | Yes | — | — |
result.data.leads[].email_validation_result | object | Yes | — | — |
result.data.leads[].email_validation_result.object | "email_validation_result" | Yes | — | Allowed: email_validation_result. |
result.data.leads[].email_validation_result.email | string | Yes | — | Format: email. |
result.data.leads[].email_validation_result.result | "deliverable" | "risky" | "undeliverable" | "unknown" | Yes | — | Allowed: deliverable, risky, undeliverable, unknown. |
result.data.leads[].data | record | Yes | — | — |
result.data.leads[].phone_numbers | array | No | — | — |
result.data.leads[].phone_numbers[].object | "phone_number" | Yes | — | Allowed: phone_number. |
result.data.leads[].phone_numbers[].id | string | Yes | — | Format: uuid. |
result.data.leads[].phone_numbers[].number | string | Yes | — | — |
result.data.leads[].phone_numbers[].type | "mobile" | "office" | "phone" | "landline" | "voip" | "direct" | Yes | — | Allowed: mobile, office, phone, landline, voip, direct. |
result.data.leads[].phone_numbers[].source | "amplemarket" | "crm" | "user_uploaded" | "uploaded_by_user" | No | — | Origin of the phone number. Amplemarket returns uploaded_by_user for numbers supplied through post_contacts. Allowed: amplemarket, crm, user_uploaded, uploaded_by_user. |
result.data.leads[].phone_numbers[].is_wrong_number | boolean | Yes | — | — |
result.data.leads[].phone_numbers[].is_dnc_listed | boolean | No | — | Present only when the account has phone number DNC list enabled |
result.data.leads[].phone_numbers[].kind | string | No | — | Phone number kind. Amplemarket returns this alongside the documented type field. |
result.data.leads[].phone_numbers[].uploaded_id | string | No | — | Identifier of the uploaded phone number record, present when a caller supplied the number. |
result.data._errors | array | No | — | — |
result.data._errors[].code | string | Yes | — | — |
result.data._errors[].title | string | Yes | — | — |
result.data._errors[].detail | string | Yes | — | — |
result.data._errors[].source | object | No | — | — |
result.data._errors[].source.pointer | string | No | — | — |
Deepline cost
- Pricing model:
fixed(per call). - Estimated Deepline credits:
0per pricing unit. - Provider-native pricing may still exist outside Deepline credit billing.