Skip to content
All topics

Certificates

Issue certificates, look them up, re-issue them, and revoke, reinstate or withdraw them.

Issue certificates

POST /projects/{projectCode}/certificates

Scope: issue. Requires an Idempotency-Key header.

Issues one certificate per recipient into the project’s most recent batch. Set the project up in the app first: its design, the fields it asks for, and its batch. Find the project code in the app’s project settings. A project that is not active yet accepts the recipients, but nothing is rendered or sent until you activate it.

{
  "recipients": [
    {
      "name": "Ana Silva",
      "email": "[email protected]",
      "externalId": "M-20481",
      "payloads": [
        { "kind": "T", "key": "reference", "value": "FA-2026-0113" },
        { "kind": "D", "key": "valid_until", "value": "2028-10-31" },
        { "kind": "T", "key": "items", "value": "FA1; CPR" }
      ]
    }
  ]
}

Recipient fields

Field
nameRequired. The name printed on the certificate.
emailThe address the certificate is sent to.
mobileA phone number, with country code or in your account country’s format.
externalIdYour own identifier for this person, such as a member number (up to 64 characters).
payloadsAnswers to the fields your project asks for.

A recipient needs a name. Email, mobile and externalId are each optional, but the certificate is only sent if there is an email address. A recipient whose email or mobile cannot be read refuses the whole request with 422, error E050 and the reason (invalid_email, invalid_mobile, invalid_external_id, missing_name) as extra, so nothing is issued until you fix it.

Who is who. Momenial matches each recipient to a person it already knows by email first, then mobile, then externalId, then name. A name match ignores case and extra spaces, so ana silva and Ana Silva are one person. People created under two spellings before this rule stay two people. A match fills in any of those details the person was missing. A recipient whose details point at two different existing people is not issued, and is listed under conflicts.

Payloads answer the fields set up on the project, by their key:

kindvalue
TText.
NA number.
DA date, YYYY-MM-DD.

These keys have a fixed meaning on the certificate when your project asks for them:

KeyKindMeaning
first_name, last_nameTThe holder’s given and family names, when they should not be guessed from name.
referenceTYour own certificate or license number, shown on the certificate page.
valid_from, valid_untilDThe validity period. Without them, the project’s validity setting decides.
itemsTQualification codes from the project’s catalog, separated by ; or ,.

Limits. Up to 100 recipients per request, and up to 100 certificates per batch in total. When the batch is full, the request is refused with E602: start a new batch in the app. When your account does not have enough credits for everyone, the whole request is refused with E601 and nothing is issued.

Response

{
  "certificates": [
    {
      "code": "K7M39XQ2",
      "status": 1,
      "recipient": { "code": "14m2…", "name": "Ana Silva", "email": "[email protected]", "externalId": "M-20481", "createdAt": "2026-10-30T07:41:12.004Z" }
    }
  ],
  "duplicates": [{ "index": 3, "name": "Budi Santoso", "code": "Q2PX8M4C" }],
  "conflicts": [5]
}
  • certificates: one entry per certificate created. status 1 means it is queued to be rendered; rendering takes a few seconds. The certificate is then emailed (unless the batch is set to send later in the app) and the certificate.issued webhook fires.
  • duplicates: recipients skipped because the same person already has a certificate in this batch. index is their position in your recipients array and code is the certificate they already hold. Nothing is charged for them.
  • conflicts: positions of recipients not issued because their details matched two different people.

Get a certificate

GET /certificates/{code}

Scope: read.

{
  "code": "K7M39XQ2",
  "status": "active",
  "url": "https://cert.fyi/K7M39XQ2",
  "domain": "cert.fyi",
  "projectCode": "7KD2M9Q",
  "recipientEmail": "[email protected]",
  "currentVersion": 2,
  "issuedOn": "2026-10-30",
  "expiresOn": "2028-10-31",
  "expiresAt": "2028-10-31T17:00:00.000Z",
  "reference": "FA-2026-0113",
  "sourceGone": false,
  "searchable": true,
  "restricted": false,
  "createdAt": "2026-10-30T07:41:15.220Z",
  "updatedAt": "2026-11-02T03:10:51.008Z",
  "versions": [
    { "n": 1, "reason": "issue", "createdAt": "…", "title": "First Aid", "recipientName": "Ana Silva", "validFrom": "2026-10-30", "validUntil": "2028-10-31", "items": [], "archetype": "certification" },
    { "n": 2, "reason": "correction", "createdAt": "…", "title": "First Aid", "recipientName": "Ana Silva", "validFrom": "2026-10-30", "validUntil": "2028-10-31", "items": [], "archetype": "certification" }
  ],
  "events": [
    { "actor": "system", "action": "issue", "versionN": 1, "detail": {}, "at": "…" },
    { "actor": "system", "action": "reissue", "versionN": 2, "detail": {}, "at": "…" }
  ]
}

status is one of:

statusMeaning
activeValid.
expiredPast expiresAt.
revokedRevoked. revokedAt, revokeReason and revokeNote say when and why.
withdrawnWithdrawn, and the holder’s personal data erased.

expiresAt is the first moment the certificate is no longer valid: the end of expiresOn in your account’s time zone. sourceGone is true when the recipient’s entry was deleted in the app; the certificate itself stays valid, but can no longer be re-issued. restricted is true when the holder has limited who can open the certificate page. Only the holder can change it, and your team can still open the page. versions lists every version, oldest first; a version never changes once issued. Each version’s archetype is what the project said it issues at the time: course, event, certification, membership, authorisation or award, or "" when the project does not say. It changes two things:

  • On a card, the words. certification makes it a “Certification card” with a “Certificate No.”, authorisation an “Authorization card” with an “Authorization No.”, and anything else a membership card with a “Member ID”. The card, its page, its wallet pass and its delivery and renewal emails all use the same words.
  • On a certificate, the reminder. A certificate with an end date and the archetype certification, authorisation or membership emails its holder 30 days before it expires, as a card does. Other certificates get no reminder.

events is the certificate’s history; an action taken through the API names its key as api:<key code>.

An unknown code, or one belonging to another account, gets 422 with error E018.

Find certificates

GET /certificates?reference={reference}
GET /certificates?email={email}

Scope: read. Give exactly one of reference or email. Returns up to 100 matching certificates, newest first, or [].

[
  {
    "code": "K7M39XQ2",
    "url": "https://cert.fyi/K7M39XQ2",
    "currentVersion": 2,
    "issuedOn": "2026-10-30",
    "expiresAt": "2028-10-31T17:00:00.000Z",
    "reference": "FA-2026-0113"
  }
]

A revoked or withdrawn certificate also carries revokedAt or withdrawnAt.

Re-issue a certificate

POST /certificates/{code}/reissues

Scope: issue. Renders a new version from the recipient’s current details in the app, on the same link. The new version is emailed to the recipient like the first.

{ "reason": "renewal" }

Send renewal to renew: a new validity period starts, on the same link. Send anything else (correction is the default when no body is sent) to update the certificate from its current details. An update is priced by what it changes from the current version, whatever reason you send:

What changesRecorded asCost
Only qualifications addedadditionFree
A different designredesignOne credit
The end date moved later, or removedcorrectionOne credit
Anything else: a name, number, answer or start date, a removed qualification, an earlier end date, an edit to the artwork with the same designcorrectionThe first correction in a term is free; each later one uses one credit
A renewalrenewalOne credit

A term is the versions since the certificate’s first issue, its import or its latest renewal. A paid change of end date counts as the term’s correction, so the next correction uses one credit. A term holds at most six versions; a renewal is always allowed, and starts a new term. The original issue date never changes.

Answers 200 with what it cost and what the version was recorded as, which can differ from the reason you sent:

{ "charged": 1, "reason": "redesign" }

The price is checked again just before the new version renders. If the certificate’s details or the project’s design changed in between and the version now costs more than was charged, the re-issue fails, any credit is given back, and you re-issue at the new price.

Refused with:

ErrorWhen
E002This certificate was re-issued less than 5 minutes ago.
E052The project is not active. extra carries its status; restart it in the app first.
E601Not enough credits.
E603A re-issue of this certificate is already in progress.
E605The certificate is withdrawn.
E606The certificate is revoked; reinstate it first.
E607The recipient’s entry was deleted in the app, so there is nothing to render from.
E611Renewal only: the certificate was already renewed today.
E612Renewal only: there is nothing to renew, because the certificate has no end date.
E613Renewal only: not due yet. A renewal opens 30 days before the end date.
E614This term already holds six versions. Renew it to start a new term.

Price a re-issue first

GET /certificates/{code}/reissue-quote

Scope: issue. Charges nothing. Answers what each reason would be recorded as and cost, from the certificate’s current details:

{
  "quotes": [
    { "requested": "correction", "reason": "addition", "charged": 0 },
    { "requested": "renewal", "error": "E613" },
    { "requested": "addition", "reason": "addition", "charged": 0 },
    { "requested": "redesign", "reason": "addition", "charged": 0 }
  ]
}

A reason that would be refused carries its error instead (E611, E612, E613 or E614). A refusal that applies to every reason (E002, E052, E603, E605, E606, E607) fails the whole request, as the re-issue would.

Revoke and reinstate

PUT /certificates/{code}/revocation
DELETE /certificates/{code}/revocation

Scope: manage. Revoking is public and reversible: the certificate page shows that it was revoked, when, and why. Free of charge.

{ "reason": "error", "note": "Issued to the wrong cohort." }
reasonMeaning
issuerYour organization’s decision.
errorIssued by mistake.
holderAt the holder’s request.
supersededReplaced by another certificate.

note is optional, up to 500 characters, and shown on the certificate page. DELETE reinstates the certificate. Both answer 204, and repeating either changes nothing: revoking an already revoked certificate keeps its first date and reason. A withdrawn certificate cannot be revoked or reinstated (E605).

Withdraw

POST /certificates/{code}/withdrawal

Scope: manage. For a legal request, such as a holder asking for their data to be erased. Withdrawal cannot be undone. It erases the holder’s name and contact details from every version, deletes the certificate’s files, and leaves a page that shows only your organization, the code and that the certificate was withdrawn. It also ends every access the holder granted: approved viewers, share links and the view log. The credit is not refunded. Answers 204; repeating it changes nothing. In an active project it is refused with E603 while the certificate is being rendered (just issued, or mid re-issue); try again a minute later. In a stopped project nothing is rendering, so a withdrawal never waits.

Verify a holder

GET /verify?first={given name}&last={family name}&email={email}

Scope: verify. Finds this account’s certificates held by one person, the way an employer checks a candidate. Employer verification must be turned on for the account in the app. See Verification search on your site.

All three parameters are required. Names match regardless of case, accents and punctuation; the email must be the one the certificate was sent to. Only the holder’s own certificates match, never partial names.

[
  {
    "code": "K7M39XQ2",
    "url": "https://cert.fyi/K7M39XQ2",
    "title": "First Aid",
    "issuedOn": "2026-10-30",
    "expiresAt": "2028-10-31T17:00:00.000Z"
  }
]

Returns [] when nothing matches, when employer search is off, or for certificates that are withdrawn or that the holder or you excluded from search. A revoked certificate is returned with revokedAt. Limited to 60 requests a minute per key.

Last updated November 3, 2026

Still stuck? Email [email protected].