---
title: "Embed code for a showcase, each category, and each project"
method: GET
path: "/v1/showcases/{showcaseId}/embed"
tags: ["Embeds"]
---

# Embed code for a showcase, each category, and each project

`GET /v1/showcases/{showcaseId}/embed`

## Request

- Base URL: `https://api.dropl.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dropl.io/v1/showcases/{showcaseId}/embed`
- Auth: HTTP bearer

Requires the `embed:read` scope (get embed codes).

## Path parameters

- `showcaseId` string, uuid, required

## Query parameters

- `projectUrl` string: Projects showcases: link index cards to the website's own pages, e.g. /work/{slug}.

## Response `200`

Success

- ShowcaseEmbed
  - `showcaseId` string, uuid, required
  - `publicId` string, required
  - `type` 'gallery' | 'projects', required: gallery: one grid of photos and videos. projects: a portfolio of projects, each with its own page.
  - `html` string, required
  - `categories` object[], required
    - `id` string, uuid, required
    - `name` string, required
    - `slug` string, required
    - `html` string, required
  - `projects` object[]: Projects showcases: one snippet per project page (data-project).
    - `id` string, uuid, required
    - `title` string, required
    - `slug` string, required
    - `html` string, required
  - `notes` string[], required

## Other responses

- `400`: Validation failed
- `401`: `INVALID_API_KEY`: missing, invalid, expired, or revoked key
- `403`: `INSUFFICIENT_SCOPE` (names the missing scope), `SITE_RESTRICTED_KEY`, or a plan limit
- `404`: Not found, or outside the key's sites
- `429`: Rate limited

---

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