# Returning list of all Retire Requests

## Return a list of all retire requests.

<mark style="color:blue;">`GET`</mark> `/contracts/retire/requests`

Returns all retire requests.

#### Query Parameters

| Name       | Type   | Description                                                           |
| ---------- | ------ | --------------------------------------------------------------------- |
| contractId | String | Contract Identifier                                                   |
| pageSize   | Number | The numbers of items to return                                        |
| pageIndex  | Number | The number of pages to skip before starting to collect the result set |

{% tabs %}
{% tab title="200: OK Successful Operation" %}

```
headers:
            x-total-count:
              schema:
                type: integer
              description: Total items in the collection.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RetireRequestDTO'
```

{% endtab %}

{% tab title="401: Unauthorized Unauthorized" %}

{% endtab %}

{% tab title="403: Forbidden Forbidden" %}

{% endtab %}

{% tab title="500: Internal Server Error Internal Server Error" %}

{% endtab %}
{% endtabs %}
