API endpoint to add jobs