An endpoint is the addressable point where a service receives requests and returns responses, defined by a URL and a method (or a socket).
An endpoint is where traffic lands. In a REST API, an endpoint is (method, URL): GET /users/42 and DELETE /users/42 are two different endpoints that share a URL. In a TCP service, an endpoint is a host:port pair. In a Unix service, an endpoint is a socket path. In WebSocket, an endpoint is the URL plus the upgrade handshake.
An endpoint is not the same as a URL. A URL names a resource (/users/42). An endpoint names a way to act on it (GET /users/42, DELETE /users/42). Two endpoints may share the same URL. One endpoint may answer a URL range (/users/{id}).