Skip to content

Commit

Permalink
pause/resume lead new parameter campaignId
Browse files Browse the repository at this point in the history
  • Loading branch information
freynal committed Apr 19, 2024
1 parent bf80d7c commit bd8402a
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions source/includes/_leads.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ id | (Optional) If no email parameter, get lead by its id
## Pause a Specific Lead by Email

```shell
curl -X POST https://api.lemlist.com/api/leads/pause/:email \
curl -X POST https://api.lemlist.com/api/leads/pause/:email?campaignId=cam_aaNfSAHJoa4gj86Px \
--user ":YourApiKey"
```

Expand All @@ -74,18 +74,24 @@ This endpoint pauses a specific lead using its email in all campaigns.

### HTTP Request

`POST https://api.lemlist.com/api/leads/pause/:email`
`POST https://api.lemlist.com/api/leads/pause/:email?campaignId=cam_aaNfSAHJoa4gj86Px`

### Query Parameters
### URL Parameters

Parameter | Description
--------- | -----------
email | email address of the lead.

### Query Parameters

Parameter | Description
--------- | -----------
campaignId | id of the campaign (optional)

## Resume a Specific Lead by Email

```shell
curl -X POST https://api.lemlist.com/api/leads/start/:email \
curl -X POST https://api.lemlist.com/api/leads/start/:email?campaignId=cam_aaNfSAHJoa4gj86Px \
--user ":YourApiKey"
```

Expand All @@ -104,14 +110,20 @@ This endpoint starts a specific lead using its email in all campaigns.

### HTTP Request

`POST https://api.lemlist.com/api/leads/start/:email`
`POST https://api.lemlist.com/api/leads/start/:email?campaignId=cam_aaNfSAHJoa4gj86Px`

### Query Parameters
### URL Parameters

Parameter | Description
--------- | -----------
email | email address of the lead.

### Query Parameters

Parameter | Description
--------- | -----------
campaignId | id of the campaign (optional)

## Mark as interested a Specific Lead by Email

```shell
Expand Down

0 comments on commit bd8402a

Please sign in to comment.