---
updatedAt: 2026-04-21T07:21:29.000Z
---

# List exit messages

This endpoint provides all validator exit messages for a given validator set UUID or entity filter. These exit messages will be encrypted with the GPG key as provided in `[POST] /v2/staking/ethereum/exit/key`. These exit messages must be broadcast to effect the validator exit.

# OpenAPI definition

```json
{
  "openapi": "3.1.1",
  "info": {
    "title": "Ethereum API",
    "description": "",
    "version": "2.0.0"
  },
  "servers": [
    {
      "url": "https://api.twinstake.io"
    }
  ],
  "paths": {
    "/v2/staking/ethereum/exit-messages": {
      "get": {
        "tags": [
          "exit_message"
        ],
        "summary": "List exit messages",
        "operationId": "api_v2_staking_ethereum_exit-messages_get",
        "parameters": [
          {
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Entity",
              "description": "Entity"
            },
            "name": "entity",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "title": "Page",
              "description": "Page number",
              "default": 1
            },
            "name": "page",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "title": "Page Size",
              "description": "Number of items per page",
              "default": 10
            },
            "name": "page_size",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Deposit Id",
              "description": "Deposit id"
            },
            "name": "deposit_id",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "items": {
                    "type": "integer"
                  },
                  "type": "array"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Validator Indexes",
              "description": "Validator indexes"
            },
            "name": "validator_indexes",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExitMessageListResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ExitMessageListResponse": {
        "properties": {
          "metadata": {
            "$ref": "#/components/schemas/PageMetadata"
          },
          "data": {
            "items": {
              "$ref": "#/components/schemas/ExitMessageResponse"
            },
            "type": "array",
            "title": "Data",
            "description": "List of items on the current page"
          }
        },
        "type": "object",
        "required": [
          "metadata",
          "data"
        ],
        "title": "ExitMessageListResponse"
      },
      "ExitMessageResponse": {
        "properties": {
          "validator_index": {
            "type": "string",
            "title": "Validator Index",
            "description": "Validator index."
          },
          "exit_message": {
            "type": "string",
            "title": "Exit Message",
            "description": "Encrypted exit message."
          },
          "pgp_fingerprint": {
            "type": "string",
            "title": "Pgp Fingerprint",
            "description": "Hash of the GPG key used for encryption."
          },
          "entity": {
            "type": "string",
            "title": "Entity",
            "description": "Validator entity."
          }
        },
        "type": "object",
        "required": [
          "validator_index",
          "exit_message",
          "pgp_fingerprint",
          "entity"
        ],
        "title": "ExitMessageResponse"
      },
      "PageMetadata": {
        "properties": {
          "page": {
            "type": "integer",
            "title": "Page",
            "description": "Page number"
          },
          "page_size": {
            "type": "integer",
            "title": "Page Size",
            "description": "Number of items per page"
          },
          "total_count": {
            "type": "integer",
            "title": "Total Count",
            "description": "Total number of items"
          }
        },
        "type": "object",
        "required": [
          "page",
          "page_size",
          "total_count"
        ],
        "title": "PageMetadata"
      }
    },
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "description": "Fetch JWT token from Auth API",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "BearerAuth": []
    }
  ]
}
```