---
title: "Pin Configuration for Flow Control Key"
method: POST
path: "/v2/flowControl/{flowControlKey}/pin"
tags: ["Flow Control"]
---

# Pin Configuration for Flow Control Key

`POST /v2/flowControl/{flowControlKey}/pin`

## Request

- Base URL: `https://qstash-eu-central-1.upstash.io`
- URL: `https://qstash-eu-central-1.upstash.io/v2/flowControl/{flowControlKey}/pin`
- Auth: one of:
  - HTTP bearer
  - API key in query parameter `qstash_token`
- TypeScript: <https://skmtc.dev/upstash/apis/upstash-workflow-rest-api/docs/v2/flowControl/:flowControlKey/pin/post.ts> (a function with typed inputs; its response is checked against the schema)

Pins a processing configuration for a specific flow-control key.

## Path parameters

- `flowControlKey` string, required

## Query parameters

- `parallelism` integer
- `rate` integer
- `period` integer

## Response `200`

The flow-control key configuration has been pinned.

## Other responses

- `400`: Bad request. Returned when the flow-control key is not provided, or when the parallelism, rate or period values are invalid.

---

[API](https://skmtc.dev/upstash/apis/upstash-workflow-rest-api.md) - [All operations](https://skmtc.dev/upstash/apis/upstash-workflow-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/upstash/apis/upstash-workflow-rest-api/revisions/251bee05a7ec?raw)
