List a campaign's prospects
GET
/api/v1/outreach/campaigns/{id}/prospects
const url = 'https://digize.com/api/v1/outreach/campaigns/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/campaigns/example/prospects?page=1&pageSize=50' \ --header 'x-api-key: <x-api-key>'The prospects a campaign took in, the latest first: the account each goes out from, where their run is and what it does next (a LinkedIn action waiting in the queue, a wait), how far they got (visited, invited, connected, messaged, replied, watched, booked) and how it ended.
Needs the outreach:read permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Query Parameters
Section titled “Query Parameters”search
string
status
Array<string>
page
integer
pageSize
integer
Responses
Section titled “Responses”Done
Media typeapplication/json
object
data
required
Array<object>
object
contactId
required
string
name
required
string
email
required
string | null
pictureUrl
required
string | null
headline
required
string | null
profileUrl
required
string | null
accountId
required
string
accountName
required
string | null
status
required
string
endReason
required
string | null
position
required
The step of the workflow their run is on, or stopped at.
string | null
next
required
runId
required
string | null
enrolledAt
required
string format: date-time
total
required
number
page
required
number
Example
{ "data": [ { "status": "active", "next": { "kind": "linkedin", "action": "visit" } } ]}What was sent isn’t valid (invalid).
Media typeapplication/json
object
error
required
object
code
required
string
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
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
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
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
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}