Bulk update lead goal

This endpoint marks one goal as reached or not reached for every lead of a campaign. It runs in the background and returns how many leads will change. Leads already in the requested state are skipped.

Use the negative campaign id, for example -36456, as goal_id to qualify or unqualify every lead. Each changed lead calculates rewards and fires your campaign webhooks.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
integer
required

Unique identifier of the campaign.

integer
required

Unique identifier of a goal of that campaign. For Qualification, use the negative campaign id.

boolean
required
Defaults to true

true marks the goal as reached for every lead, false marks it as not reached.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json