Skip to main content
POST
End Lead
The lead leaves the campaign’s sequence, its pending steps are dropped and its opportunities are deleted. An end cannot be undone: resuming the lead does not bring it back.
  • campaignId is required: one call ends the lead in one campaign only.
  • A paused lead is ended too.
  • A lead already ended answers already_ended and nothing changes.
  • A lead not launched yet (imported, or waiting for review) answers 409: delete it from the campaign instead.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

leadIdOrEmail
string
required

The lead id (lea_…) or the lead's email, URL-encoded

Query Parameters

campaignId
string
required

ID of the campaign the lead is ended in

Response

Lead ended, or already ended

data
object