---
title: "Get a Key"
method: POST
path: "/kvservice.fetchkey/{tableName}"
tags: ["Key-Value Store"]
---

# Get a Key

`POST /kvservice.fetchkey/{tableName}`

Retrieves the `payload` from the table with the specified key. The request must contain key/value pairs for **all** primary keys as defined in table.

## Request body

- object
  - `data` object
    - `keys` object
      - `sku` string
      - `customer` string

## Response `200`

OK. The "payload" is returned.

---

[API](https://skmtc.net/pricefx/apis/the-pricefx-backend-api.md) · [All operations](https://skmtc.net/pricefx/apis/the-pricefx-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pricefx/the-pricefx-backend-api/versions/0850b5d6be73/schema)
