API to handle clients for ID