VerifycateDeveloper Docs

Embeds & verification widgets

Put a live certificate card or a verification lookup on any website with one snippet

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:

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

Iframe

<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.

<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

ParameterValuesDefault
layoutposter, clean, minimal, badgeposter
themeauto, light, darkauto

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.

<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:

<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:

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:

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:

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

SurfaceRecommended
WordPress, Webflow, Framer, Shopify, SquarespaceCustom HTML / embed block; iframe is the safest default
Notion, Medium, WordPress (URL paste)oEmbed
React, Vue, server-rendered pagesiframe or embed.js
LinkedIn posts and profilesImage + link — LinkedIn does not render iframes
Email signatures and email bodiesImage + 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

SymptomCheck
Blank iframeYour CSP frame-src must allow the embed origin.
Clipped contentUse 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 staleEmbeds are cached for about 60 seconds; reload after a minute.
Wrong workspace in the verify widgetUse the snippet generated by that workspace, or pass the correct workspace slug.
Script blockedUse the plain iframe snippet instead.

Related