---
title: "Create an embed"
method: POST
path: "/businesses/{id}/embeds"
tags: ["Embeds"]
---

# Create an embed

`POST /businesses/{id}/embeds`

## Path parameters

- `id` string, required

## Request body

- object
  - `plg` boolean — Whether the embed is a PLG embed. If not provided, the embed will not be a PLG embed.

## Response `200`

The created `Embed` object

- Embed
  - `id` string, required — The ID of the embed
  - `business` string, required — The ID of the business
  - `expires_at` string, required — The time when the embed will expire in ISO 8601 format
  - `url` string, required — The URL of the embed
  - `plg` boolean, required — Whether this is a PLG embed
  - `admin` boolean, required — Whether this is an admin embed

---

[API](https://skmtc.dev/pocketflows/apis/pocketflows-api.md) · [All operations](https://skmtc.dev/pocketflows/apis/pocketflows-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pocketflows/pocketflows-api/revisions/26723490b96f/schema)
