List a list's prospects
const url = 'https://digize.com/api/v1/outreach/lists/example/prospects?page=1&pageSize=50';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Done
object
object
The contact’s id.
Whether their LinkedIn profile is known.
object
The best of where the workspace’s accounts stand with them.
Where they came from: post, search, csv, crm, or list for someone on the list some other way.
Their comment on the post they came from.
Outreach campaigns they’re enrolled in.
object
Example
{ "data": [ { "relations": [ { "status": "none" } ], "relation": "connected", "source": "post", "reaction": "LIKE", "lastTouch": { "kind": "visit" } } ]}What was sent isn’t valid (invalid).
object
object
object
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
object
object
object
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
object
object
object
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
object
object
object
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
object
object
object
Example
{ "error": { "code": "invalid" }}