---
title: "Enable recipe in a workspace"
method: POST
path: "/api/v3/workspaces/{id}/recipes"
tags: ["Recipes"]
---

# Enable recipe in a workspace

`POST /api/v3/workspaces/{id}/recipes`

## Request

- Base URL: `https://embedded.improvado.io`
- URL: `https://embedded.improvado.io/api/v3/workspaces/{id}/recipes`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/improvado/apis/improvado-embedded-api-v3/docs/api/v3/workspaces/:id/recipes/post.ts> (a function with typed inputs; its response is checked against the schema)

Enables a specific recipe for a given workspace

## Path parameters

- `id` integer, required

## Request body

- object
  - `recipe_id` integer: Recipe ID

## Response `204`

Recipe is enabled

## Other responses

- `401`: Forbidden
- `403`: Recipe pipeline is disabled for agency
- `404`: Workspace or Recipe Not Found

---

[API](https://skmtc.dev/improvado/apis/improvado-embedded-api-v3.md) - [All operations](https://skmtc.dev/improvado/apis/improvado-embedded-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/improvado/apis/improvado-embedded-api-v3/revisions/a881099bd6c4?raw)
