---
title: Embeds & verification widgets
description: Put a live certificate card or a verification lookup on any website with one snippet
group: Guides
---

# Embeds & verification widgets

# Embeds & verification widgets

Verifycate has three embeddable surfaces:

1. **Credential embed** — one issued certificate, by its public ID.
2. **Verify widget** — a certificate lookup box scoped to your workspace.
3. **oEmbed** — paste a public certificate URL into a CMS or collaboration tool and get a rich preview.

All three are available on **every plan**. Removing the small “Verified by
Verifycate” attribution follows the workspace's general **Hide Verifycate
branding** setting; it is not an embed-specific lock.

Every embed reads the same public record as the certificate page. Status is
rendered server-side, so an embed shows **active**, **expired** or **revoked**
rather than a frozen “verified” image. Cached embeds refresh within about a
minute.

## Credential embed

Open a public certificate page and choose **Share Your Achievement → Embed**.
Choose a layout and theme, preview it, then copy the iframe or script snippet.

The public ID is the ID in the certificate URL:

```text
https://verifycate.com/c/8f14e45f-ceea-4c0f-9c2a-2f4c1f0a9b11
```

### Iframe

```html
<iframe
  src="https://verifycate.com/embed/c/PUBLIC_ID?layout=poster&theme=auto"
  title="Certificate verification"
  width="100%"
  height="560"
  loading="lazy"
  referrerpolicy="strict-origin-when-cross-origin"
  style="border:0;max-width:100%"
></iframe>
```

### Script

The script upgrades a placeholder into a responsive iframe and handles height
changes. It has no dependencies and sets no cookies.

```html
<div
  data-verifycate-embed="credential"
  data-public-id="PUBLIC_ID"
  data-layout="poster"
  data-theme="auto"
></div>
<script async src="https://verifycate.com/embed.js"></script>
```

### Parameters

| Parameter | Values                                | Default  |
| --------- | ------------------------------------- | -------- |
| `layout`  | `poster`, `clean`, `minimal`, `badge` | `poster` |
| `theme`   | `auto`, `light`, `dark`               | `auto`   |

Use `poster` for a full-bleed certificate with a light metadata overlay,
`clean` for the image with a compact metadata strip, `minimal` for an
image-first card with just status and a link, and `badge` for a square mark.

Multi-page credentials show a carousel: arrows, swipe, page dots and a page
counter. `layout=card` is accepted as an alias for `poster`.

The card sizes itself from the artwork's aspect ratio and renders every page
with `object-contain`, so portrait, landscape and mixed sets are never cropped.
A multi-page set uses its widest page as the carousel frame; narrower pages are
letterboxed on the card surface. Prefer the script snippet (or the height the
dashboard generates) so the iframe matches the real card height.

## Verify widget

Open **Workspace → Integrations**, choose **Embeds**, and click **Configure**.
The widget is scoped to the workspace, so a visitor can only resolve
certificates from that workspace.

```html
<iframe
  src="https://acme.verifycate.com/embed/verify?workspace=acme"
  title="Verify a certificate"
  width="100%"
  height="520"
  loading="lazy"
  referrerpolicy="strict-origin-when-cross-origin"
  allow="camera"
  style="border:0;max-width:100%"
></iframe>
```

Visitors can type the certificate ID or scan the QR code printed on the
certificate with their camera, so keep `allow="camera"` on the iframe.

Or:

```html
<div data-verifycate-embed="verify" data-workspace="acme"></div>
<script async src="https://acme.verifycate.com/embed.js"></script>
```

On an active custom domain, use that origin instead of
`acme.verifycate.com`. The dashboard snippet does this automatically.

## oEmbed

The public certificate page advertises an oEmbed endpoint:

```text
https://api.verifycate.com/api/v1/oembed?url=https%3A%2F%2Fverifycate.com%2Fc%2FPUBLIC_ID&format=json
```

Paste a certificate URL into an oEmbed-compatible surface such as Notion,
WordPress or Medium and it can render the card directly. You can also call the
endpoint yourself:

```http
GET /api/v1/oembed?url=https%3A%2F%2Fverifycate.com%2Fc%2FPUBLIC_ID&maxwidth=480&maxheight=560&format=json
```

The response is an oEmbed 1.0 `rich` object with an escaped iframe. Requests
for `format=xml` return `501`.

## Content Security Policy

If your site sends a Content Security Policy, allow the embed origin:

```text
frame-src https://verifycate.com https://*.verifycate.com https://acme.verifycate.com;
script-src https://verifycate.com https://*.verifycate.com https://acme.verifycate.com;
```

Use the iframe snippet when you cannot allow a third-party script. The iframe
works without JavaScript.

Our embed pages send `Content-Security-Policy: frame-ancestors *` and no
`X-Frame-Options`. The full certificate page and the recipient portal remain
unframable.

## Where embeds work

| Surface                                          | Recommended                                             |
| ------------------------------------------------ | ------------------------------------------------------- |
| WordPress, Webflow, Framer, Shopify, Squarespace | Custom HTML / embed block; iframe is the safest default |
| Notion, Medium, WordPress (URL paste)            | oEmbed                                                  |
| React, Vue, server-rendered pages                | iframe or `embed.js`                                    |
| LinkedIn posts and profiles                      | **Image + link** — LinkedIn does not render iframes     |
| Email signatures and email bodies                | **Image + link** — most email clients block iframes     |

For email and LinkedIn, download a PNG from the certificate page and link it to
the canonical certificate URL.

## Troubleshooting

| Symptom                              | Check                                                                                  |
| ------------------------------------ | -------------------------------------------------------------------------------------- |
| Blank iframe                         | Your CSP `frame-src` must allow the embed origin.                                      |
| Clipped content                      | Use `embed.js` so the iframe receives height updates, or increase the fixed height.    |
| “Certificate not found”              | The public ID must be the ID from the certificate URL, not an internal certificate ID. |
| Status looks stale                   | Embeds are cached for about 60 seconds; reload after a minute.                         |
| Wrong workspace in the verify widget | Use the snippet generated by that workspace, or pass the correct `workspace` slug.     |
| Script blocked                       | Use the plain iframe snippet instead.                                                  |

## Related

- [Get a public certificate](/docs/api/verify/get-public)
- [Verify a public certificate](/docs/api/verify/verify)
- [WordPress plugin](/docs/api/wordpress)
- [Rate limits](/docs/api/rate-limits)
