AcquisityDeveloper Docs
Leads

Export campaign leads as CSV

GET
/v1/workspaces/{workspaceId}/campaigns/{campaignId}/leads/export

Authorization

bearerAuth
AuthorizationBearer <token>

Paste the full personal access token or organization API key value. Examples: acq_live_..., acq_org_.... Tokens can be limited to resource/action scopes such as workspaces:read, people:write, and deals:write.

In: header

Path Parameters

workspaceId*string

Workspace id.

Formatuuid
campaignId*string

Campaign id.

Formatuuid

Query Parameters

limit?integer

Maximum number of campaign leads to include in this page. Defaults to 3000. Minimum 1, maximum 3000.

Range1 <= value <= 3000
Default3000
cursor?string

Opaque pagination cursor from the previous page X-Next-Cursor response header. Omit for the first page and pass back unchanged, with identical filters, for the next page.

Length1 <= length <= 8192
status?string

Filter campaign leads by outreach status.

Value in

  • "not_yet_contacted"
  • "contacted"
  • "interested"
  • "not_interested"
  • "unsubscribed"
  • "completed"
  • "out_of_office"
  • "meeting_booked"
  • "completed_no_reply"
  • "reply_received"
  • "bounced"
  • "converted"
source?string

Filter campaign leads by source.

Value in

  • "scraped_lead"
  • "crm_contact"
  • "external"
  • "manual"
isProspect?boolean

Filter campaign leads by prospect flag.

email?string

Return the campaign lead with this exact email address.

Formatemail
createdAfter?string

Campaign leads created on or after this ISO 8601 date-time.

Formatdate-time
createdBefore?string

Campaign leads created on or before this ISO 8601 date-time.

Formatdate-time
updatedAfter?string

Campaign leads updated on or after this ISO 8601 date-time.

Formatdate-time
updatedBefore?string

Campaign leads updated on or before this ISO 8601 date-time.

Formatdate-time

Response Body

text/csv

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/workspaces/497f6eca-6276-4993-bfeb-53cbbbba6f08/campaigns/497f6eca-6276-4993-bfeb-53cbbbba6f08/leads/export"
"string"
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}