/api/v1/workspaces/XYZ/users returns all full member users, so we would just need to create a new endpoint for:
/api/v1/workpaces/XYZ/external-users
Which returns a list of all external users in the workspace.