Skip to main content
POST
Start import

Path Parameters

leadListId
string
required

The lead list ID.

Body

application/json
sourceType
enum<string>
required

Where the people come from.

Available options:
followers,
following,
retweets,
tweet_likes,
tweet_replies,
list_members,
list_followers,
csv,
plain_text,
x_database,
li_group,
li_post_likes,
li_post_comments,
li_following,
li_followers,
li_connections,
li_search,
li_chat,
chat
accountId
string

The account that runs the import.

targetHandle
string

For account sources: the handle to read from.

targetTweetId
string

For post sources on X: the post ID.

postUrl
string

For LinkedIn post sources: the post link.

For li_search: the search to run.

content
string

For csv and plain_text: the file content.

fileName
string

For csv: the file name.

keyword
string

Optional keyword to keep only matching people.

filters
string[]

Optional filters for who to keep.

platform
enum<string>

Optional. Must match the list's network.

Available options:
x,
linkedin

Response

OK. Check status: errors the API handles itself also return 200.

status
boolean
required

true when the request succeeded.

data
object
required
error
null
required

Always null on success.