Skip to content

List a list's prospects

GET
/api/v1/outreach/lists/{listId}/prospects
curl --request GET \
--url 'https://digize.com/api/v1/outreach/lists/example/prospects?page=1&pageSize=50' \
--header 'x-api-key: <x-api-key>'

The contacts on a list as Outreach shows them, the latest added first: their LinkedIn headline, company and profile, where each of the workspace’s accounts stands with them, where they came from (and their comment on the post), the last LinkedIn action and their campaigns. search looks in names, emails, headlines and companies; relation keeps those connected, invited or neither.

Needs the outreach:read permission.

listId
required
string
>= 1 characters <= 64 characters
search
string
<= 200 characters
relation
Array<string>
Allowed values: connected invited none
page
integer
default: 1 >= 1 <= 10000
pageSize
integer
default: 50 >= 1 <= 100

Done

Media typeapplication/json
object
data
required
Array<object>
object
id
required

The contact’s id.

string
name
required
string
email
required
string | null
companyName
required
string | null
profileUrl
required
string | null
pictureUrl
required
string | null
headline
required
string | null
location
required
string | null
enrichedAt
required
Any of:
string format: date-time
hasProfile
required

Whether their LinkedIn profile is known.

boolean
relations
required
Array<object>
object
accountId
required
string
accountName
required
string
status
required
string
Allowed values: none invited connected withdrawn ignored
relation
required

The best of where the workspace’s accounts stand with them.

string
Allowed values: connected invited none
source
required

Where they came from: post, search, csv, crm, or list for someone on the list some other way.

string
Allowed values: post search csv crm list
comment
required

Their comment on the post they came from.

string | null
reaction
required
Any of:
string
Allowed values: LIKE PRAISE APPRECIATION EMPATHY INTEREST ENTERTAINMENT
addedAt
required
string format: date-time
lastTouch
required
Any of:
object
at
required
string format: date-time
kind
required
string
Allowed values: visit invite withdraw message inmail
campaigns
required

Outreach campaigns they’re enrolled in.

Array<object>
object
id
required
string
name
required
string
total
required
number
page
required
number

Example

{
"data": [
{
"relations": [
{
"status": "none"
}
],
"relation": "connected",
"source": "post",
"reaction": "LIKE",
"lastTouch": {
"kind": "visit"
}
}
]
}

What was sent isn’t valid (invalid).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

No key, or one that’s unknown, off or expired.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

The key doesn’t have the permission this needs.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Nothing has that id (not_found).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Over the rate limit; see retry-after.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}