updated socket path: /api