API endpoint for getting claim codes