---
type: api
title: Get package signature verification key ID
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4268/api/doc/kibana/v8/operation/operation-packages-get-verification-key-id
resource: https://www.elastic.co/elastic/docs-builder/docs/4268/api/doc/kibana/v8/operation/operation-packages-get-verification-key-id
products:
  - Kibana
---

# Get package signature verification key ID

Authentication: required

- Server: `https://{kibana_url}`

## Paths

- `GET` `/api/fleet/epm/verification_key_id`
- `GET` `/s/{space_id}/api/fleet/epm/verification_key_id`

#### Path parameters

- `space_id` (string) — optional
  An identifier for the space. If `space_id` is not provided in the URL, the default space is used. Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

## Responses

#### `200`

OK

`application/json`

- `body` (object)
  - `id` (string) — nullable
    the key ID of the GPG key used to verify package signatures
- `headers` (object)
- `statusCode` (number)
#### `400`

Generic Error

`application/json`

- `error` (string)
- `message` (string)
- `statusCode` (number)
## Code examples

#### Console

```console
GET kbn:/api/fleet/epm/verification_key_id
```

#### curl

```curl
curl -X GET "${KIBANA_URL}/api/fleet/epm/verification_key_id" \
  -H "Authorization: ApiKey ${API_KEY}"
```

## Response examples

#### 200

`application/json`

Generated from the API spec. Values are representative. Unions use the first variant; deeply nested or large bodies may omit fields.

```json
{
  "body": {
    "id": "string"
  },
  "headers": {},
  "statusCode": 0
}
```

#### 400

`application/json`

Generated from the API spec. Values are representative. Unions use the first variant; deeply nested or large bodies may omit fields.

```json
{
  "error": "string",
  "message": "string",
  "statusCode": 0
}
```

