---
title: "Import keys into an app's code store"
method: POST
path: "/api/v1/apps/{slug}/store"
---

# Import keys into an app's code store

`POST /api/v1/apps/{slug}/store`

## Request

- Base URL: `https://anyhook.net`
- URL: `https://anyhook.net/api/v1/apps/{slug}/store`
- Auth: HTTP bearer

Set many keys at once from {"entries": {key: value}}. Existing keys are overwritten, and imported keys have no TTL. Pipedream's workflow export leaves data stores out, so build the entries yourself.

## Path parameters

- `slug` string, required

## Request body

- object
  - `entries` object, required

## Response `200`

Imported

- object
  - `imported` integer

## Other responses

- `400`: A key or value over the limits

---

[API](https://skmtc.dev/anyhook/apis/anyhook-api.md) · [All operations](https://skmtc.dev/anyhook/apis/anyhook-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anyhook/apis/anyhook-api/revisions/ddf038fb32fc?raw)
