We need to retrieve the deal Owners’ information but we don’t know if the owner is still active or not. The problem is that, by default the endpoint /crm/v3/owners/ just return archived = false users. So, if the owner is deactivated, it returns a 404 not found. We can’t use the filter ?archived=true because we don’t know if the owner is active or not. Is there any way to call this endpoint with some filter like archived=any? Thanks
Hi @IGonzález6
Consider making two separate API calls to retrieve a comprehensive list of owners, including both active and archived ones.
First, call /crm/v3/owners/ without any filter to retrieve active users (where archived=false).
Then, make another call with the filter ?archived=true to retrieve archived users (where archived=true).
Finally, combine the results from both calls to get a complete list of owners, including both active and archived ones.
This approach is necessary since we don’t have a single API call with a filter like “archived=any” to retrieve both types of owners in one go
Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards
Thanks!!
That was the option we had proposed. But as you will understand, it is more efficient to make just one query. Do you know if there are any planned changes related to this issue? Thank you