---
title: "Lists the store's published Ed25519 keys as JSON Web Keys, which software checks offline license tokens against: the one that signs, the next one, and those rotated out while a token they signed may live."
---

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

Path: Sherpo merchant API › customer

`GET /v1/stores/{store}/license_signing_keys`

## Authentication

- `bearer`, http, header `Authorization`, scopes: `customer:read`

## Path parameters

- `store` (`listLicenseSigningKeys.path.store`; string, required) — The store's id.

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://api.sherpo.io/merchant/v1/stores/<store>/license_signing_keys' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.sherpo.io/merchant/v1/stores/<store>/license_signing_keys';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.sherpo.io/merchant/v1/stores/<store>/license_signing_keys"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Lists the store's published Ed25519 keys as JSON Web Keys, which software checks offline license tokens against: the one that signs, the next one, and those rotated out while a token they signed may live.

#### Example

```json
{
  "keys": [
    {
      "kid": "string",
      "kty": "string",
      "crv": "string",
      "x": "string",
      "alg": "string",
      "use": "string",
      "status": "string",
      "created_at": "string",
      "expires_at": "string"
    }
  ]
}
```

- `keys` (`listLicenseSigningKeys.response.200.keys`; array<object>, required)
  - `kid` (`listLicenseSigningKeys.response.200.keys.kid`; string, required)
  - `kty` (`listLicenseSigningKeys.response.200.keys.kty`; string, required)
  - `crv` (`listLicenseSigningKeys.response.200.keys.crv`; string, required)
  - `x` (`listLicenseSigningKeys.response.200.keys.x`; string, required) — The raw 32-byte public key, base64url, as a JWK's `x`.
  - `alg` (`listLicenseSigningKeys.response.200.keys.alg`; string, required)
  - `use` (`listLicenseSigningKeys.response.200.keys.use`; string, required)
  - `status` (`listLicenseSigningKeys.response.200.keys.status`; string, required) — `current` signs new tokens; `next` signs once the keys rotate; `previous` signs nothing more and stays published while a token it signed may live.
  - `created_at` (`listLicenseSigningKeys.response.200.keys.created_at`; string, required)
  - `expires_at` (`listLicenseSigningKeys.response.200.keys.expires_at`; any of, required) — When it leaves the set, as the longest offline window after it stopped signing; null while it signs or waits to.
    - any of: `string`, `null`

### default

A problem; see https://api.sherpo.io/merchant/docs/errors.

#### Example

```json
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "context": {},
  "reached_core": true,
  "core_answer": "string"
}
```

- `type` (`listLicenseSigningKeys.response.default.type`; string, required)
  - format `uri`
- `title` (`listLicenseSigningKeys.response.default.title`; string, required)
- `status` (`listLicenseSigningKeys.response.default.status`; integer, required)
- `detail` (`listLicenseSigningKeys.response.default.detail`; string, required)
- `code` (`listLicenseSigningKeys.response.default.code`; string, optional)
- `context` (`listLicenseSigningKeys.response.default.context`; object, optional)
- `reached_core` (`listLicenseSigningKeys.response.default.reached_core`; boolean, optional)
- `core_answer` (`listLicenseSigningKeys.response.default.core_answer`; string, optional)


Source: https://docs.sherpo.io/merchant-api/reference/list-license-signing-keys/index.md
