Endpoint generation