# View endpoint details

To view endpoint details:

1. If you don't know the endpoint ID, retrieve a list of endpoints in the domain using a [List endpoints](/products/custody/v1.19/api/reference/openapi/endpoints/getendpoints) operation. You can filter the list by ledger, with the `ledgerId` query parameter.
2. To retrieve the endpoint details, call the [Get endpoint details](/products/custody/v1.19/api/reference/openapi/endpoints/getendpoint) operation, using the account ID retrieved in step 1.


Depending on the endpoint type, the response body includes the following information:

- Endpoints that are a ledger address have a null `parameters` field.
- Endpoints that are associated with a smart contract address have the ABI data in the `parameters` field in JSON format.