Created base API Endpoint