Getting Affiliates that have no commission program

I want to find a way to retrieve affiliates that don’t have a commission program assigned. I hoped and it looks like it should but the affiliate_id returned for each program is 0 even for programs I know have affiliates.
My intention was to cycle through all the affiliates returned from the above call and cross reference this with the entire list of affiliates.
Is there another was either via Rest or the legacy API to retrieve affiliates with no commission program?

Good morning Liam,

Unfortunately we don’t yet have a simple query for locating unassigned Affiliates, so iterating each via a combination of the REST APi (Keap REST API) the XMLRPC API (xml-rpc - Keap Developer Portal).


  • Tom Scott
    Keap API Engineer