> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apinizer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Endpoints

> Retrieves all endpoints (API methods) for a specific API proxy. Endpoints are returned without policy details.

## Endpoint

```
GET /apiops/projects/{projectName}/apiProxies/{apiProxyName}/endpoints/
```

## Authentication

Requires a Personal API Access Token.

### Header

```
Authorization: Bearer YOUR_TOKEN
```

## Request

### Headers

| Header        | Value          | Required |
| ------------- | -------------- | -------- |
| Authorization | Bearer {token} | Yes      |

### Path Parameters

| Parameter    | Type   | Required | Description    |
| ------------ | ------ | -------- | -------------- |
| projectName  | string | Yes      | Project name   |
| apiProxyName | string | Yes      | API Proxy name |

### Query Parameters

None

## Response

### Success Response (200 OK)

```json theme={null}
{
  "success": true,
  "resultList": [
    {
      "id": "endpoint-id-1",
      "endpoint": "/api/users",
      "description": "Get all users",
      "active": true,
      "httpMethod": "GET",
      "backendResourceUrl": "/users",
      "backendHttpMethod": "GET"
    },
    {
      "id": "endpoint-id-2",
      "endpoint": "/api/users",
      "description": "Create user",
      "active": true,
      "httpMethod": "POST",
      "backendResourceUrl": "/users",
      "backendHttpMethod": "POST"
    }
  ],
  "resultCount": 2
}
```

#### Response Fields

| Field       | Type    | Description                             |
| ----------- | ------- | --------------------------------------- |
| success     | boolean | Indicates if the request was successful |
| resultList  | array   | List of endpoint objects                |
| resultCount | integer | Total number of endpoints               |

#### Endpoint Object Fields

| Field              | Type    | Description                        |
| ------------------ | ------- | ---------------------------------- |
| id                 | string  | Endpoint unique identifier         |
| endpoint           | string  | Endpoint path/name                 |
| description        | string  | Endpoint description               |
| active             | boolean | Whether endpoint is active/enabled |
| httpMethod         | string  | HTTP method for the endpoint       |
| backendResourceUrl | string  | Backend resource URL               |
| backendHttpMethod  | string  | HTTP method for backend call       |

### EnumHttpRequestMethod

* `GET` - GET method
* `POST` - POST method
* `PUT` - PUT method
* `DELETE` - DELETE method
* `PATCH` - PATCH method
* `OPTIONS` - OPTIONS method
* `HEAD` - HEAD method
* `TRACE` - TRACE method
* `ALL` - All methods

**Note:** Policy lists (`requestPolicyList`, `responsePolicyList`, `errorPolicyList`) are not included in list operations. Use [Get Endpoint](/api-reference/api-proxies/endpoints/get-endpoint) or [List Endpoint Policies](/api-reference/api-proxies/endpoints/list-endpoint-policies) to retrieve policy details.

### Error Response (401 Unauthorized)

```json theme={null}
{
  "error": "unauthorized_client",
  "error_description": "Invalid token"
}
```

### Error Response (404 Not Found)

```json theme={null}
{
  "error": "not_found",
  "error_description": "ApiProxy (name: MyAPI) was not found!"
}
```

## cURL Example

```bash theme={null}
curl -X GET \
  "https://demo.apinizer.com/apiops/projects/MyProject/apiProxies/MyAPI/endpoints/" \
  -H "Authorization: Bearer YOUR_TOKEN"
```

## Full JSON Body Example

This endpoint does not require a request body.

## Permissions

User must have **any permission** in the project (read access).

## Notes and Warnings

* **API Proxy Type**: Works for both REST and SOAP API proxies
* **Policy Details**: Policy lists are not included. Use Get Endpoint or List Endpoint Policies to retrieve policies
* **Empty List**: If no endpoints exist, an empty `resultList` is returned

## Related Documentation

* [Get Endpoint](/api-reference/api-proxies/endpoints/get-endpoint) - Get detailed endpoint information
* [List Endpoint Policies](/api-reference/api-proxies/endpoints/list-endpoint-policies) - List endpoint policies
* [Create Endpoint](/api-reference/api-proxies/endpoints/create-endpoint) - Create a new endpoint
* [Update Endpoint](/api-reference/api-proxies/endpoints/update-endpoint) - Update an endpoint
