Detect users who have NOT accepted an 'invite'

Users who have not ‘accepted’ invites (strange process - I need add a user, why can’t I just add them if they are in my domains - but I digress) have limited functionality, e.g. they do not get notifications. We need to detect this condition on some tasks and escalate for action but I cannot detect any difference using the /users endpoint (also tried the WorkspaceMembership bit which just shows pending invite users as ‘active’).

Is there any way to detect, even as a side effect, with any API, that a ‘user’ is still in limbo?

Hi @Webb_Deneys,

Good question. I did some experimenting to try and find a way to detect this but I’m afraid I came up empty also.

@Ross_Grambo do you have any ideas on this one?

Currently, no. There’s no way to check this. We’re considering adding this functionality now.

Until then you might be able to try testing functionality for the user to see if it doesn’t work, but that’s not the best workaround.

Has a solution for this problem already been developed?

It appears this is still an open issue. Has anything been done to make detection of “pending invites” by API possible? Or to put this another way - is there a way by API to get a list of just licensed users, without pending invites?

Hi @Jeff_Wheeler1,

I’ve confirmed this information is not available to the API and there does not appear to be any workaround at the moment. I invite you to submit a feature request to have this data included in the user API.

Thank you David. I’ve submitted a request. This should be one of the optional fields in the “get workspace memberships” (like is_admin or is_guest). Hopefully its an easy enhancement since adding another optional return field would be non-breaking to any existing implementation.