Remove from Program using the batch API

Highlighted

Remove from Program using the batch API

My devs are finding it difficult to come up with a way to remove a lead from a program via the API. Does anyone know any tricks to this?

6 REPLIES 6
Highlighted
Level 7

Re: Remove from Program using the batch API

try the push endpoint and programStatus Not In Program

​tested and doesn't work

Highlighted

Re: Remove from Program using the batch API

I'm pretty sure that's what they're trying, though I'll know for sure tomorrow. Just to confirm though, this is definitely possible, yes?

Highlighted
Level 10 - Community Moderator

Re: Remove from Program using the batch API

You have to use Change Lead Program Status ​w/"Not in Program".

Push doesn't support "Not in Program".

Highlighted
Level 7

Re: Remove from Program using the batch API

Annoying workaround, create your own program step that is usable in push calls "API-Not In Program"

Create a smart campaign with flow "Change Program Status is [Channel] > Not In Program" to go with it

Highlighted
Level 10 - Community Moderator

Re: Remove from Program using the batch API

But as I noted, there already is an API endpoint that works, Change Lead Program Status.

Highlighted
Level 7

Re: Remove from Program using the batch API

Missed that in docs. Yeah use that one