Receive ENDPOINT from environment variable