Skip to main content
POST
Merge contact lists
Appends the contacts of up to 20 source lists to a target list, and can delete the sources afterwards. Use it to build a list larger than the 2,000 contacts Create a contact list accepts in one request: create several lists, then merge them into one.

Example

Merge three lists into 6650c1f2a4b8e93d2c1f0a11 and delete them afterwards:
The response (201) is the target’s saved list with all of its contacts, so it grows with the list. Then refill the target’s dialing queue:

How the merge works

Retrying

Not idempotent. Retrying a merge that kept its sources appends their contacts again. A merge with delete_sources: true that succeeded has already deleted its sources, so retrying it appends nothing.

Errors

Authorizations

x-api-key
string
header
required

Team-scoped API key generated in the Salesfinity dashboard under Settings → Connections → API & Webhooks. A missing or invalid key returns HTTP 403.

Path Parameters

id
string
required

ID of the target saved list. A value that is not a valid ID fails with 400.

Example:

"6650c1f2a4b8e93d2c1f0a11"

Body

application/json
source_list_ids
string[]
required

IDs of the source lists to merge into the target list

Required array length: 1 - 20 elements
Example:
delete_sources
boolean
default:false

Whether to delete the source lists after merging

Response

Merged. The body is the target's saved list, with all its contacts.

_id
string
required

ID of the saved list.

Example:

"6650c1f2a4b8e93d2c1f0a11"

name
string
required

Name of the list.

Example:

"Q2 Outbound Prospects"

source
enum<string>
required

Not returned by POST /v1/contact-lists/{id}/merge.

Available options:
csv,
hubspot,
salesforce,
manual
user
object
total_contacts
integer

Not returned by POST /v1/contact-lists/{id}/merge; count contacts instead.

team
string

ID of your team.

Example:

"64f1a2b3c4d5e6f7a8b9c0d1"

contact_list_id
string

ID of the list's dialing queue.

Example:

"6650c1f2a4b8e93d2c1f0a10"

contacts
object[]

Every contact in the saved list after the merge.

createdAt
string<date-time>
updatedAt
string<date-time>
__v
integer

Internal document version. Ignore it.