Get endpoint from instance attribute