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?
try the push endpoint and programStatus Not In Program
tested and doesn't work
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?
You have to use Change Lead Program Status w/"Not in Program".
Push doesn't support "Not in Program".
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
But as I noted, there already is an API endpoint that works, Change Lead Program Status.
Missed that in docs. Yeah use that one