OSINTverseDocs

Certificates API

Verify any certificate without a key, issue and revoke with a team ov_ key over REST (with an Idempotency-Key for safe retries) or from an agent over MCP, export the ledger as CSV, and read certificates and the skill directory with the MCP tools.

Markdown version

Three interfaces, all on https://osintverse.com (not the SearchIn API host):

InterfaceAuthWhat it does
Public verificationNoneRead a certificate's signed record, status, and how to check it.
REST issuingTeam ov_ key with Certificates accessIssue, list, export, read, and revoke certificates for the key's issuer.
MCP toolsAny MCP connection; issuing needs the team keyverify_credential for the public record, list_certificate_skills and find_certificate_types for the skill directory; with a team key that has Certificates access, list_my_credential_types and issue_certificate too.

Public verification

GET /api/certificates/verify/{id}
GET /certificates/verify/{id}.json      (same response)
GET /certificates/verify/{id}.md        (Markdown twin)
GET /api/certificates/keys              (every signing key, past and present)
GET /api/certificates/{id}/openbadge.json  (Open Badges 3.0 export, eddsa-jcs-2022 proof)
GET /.well-known/did.json               (did:web document naming the export's signing keys)

The Open Badges export is a W3C Verifiable Credential built from the signed record on request; valid and expired certificates export, revoked and superseded ones answer 410. Details and how to verify the proof are on How verification works.

No account, no key. Rate-limited per IP; 429 carries Retry-After. The response never includes the recipient's email. An unknown id answers 404 with { "message", "code": "not_found" }. Ids are normalised, so ovc7k3qm8px2dla and OVC-7K3Q-M8PX-2DLA are the same certificate; issuer-prefixed ids such as OSINTCOL1-48213967 work the same way.

Verify by id
curl -s https://osintverse.com/api/certificates/verify/OVC-7K3Q-M8PX-2DLA | jq '{status, title, issuer, recipient, signature}'

The response shape and the verification steps are on How verification works. Pages that the recipient has not opted into indexing carry X-Robots-Tag: noindex.

REST issuing

Authentication

Create a team API key on the team's API keys page with access level Certificates (issue, read, and revoke certificates; quotes and providers readable; never charges) or Full access. Personal keys cannot issue: certificates belong to a team's issuer. The key's creator must still be a member whose role can issue (owner, admin, member, or analyst).

Send the key as a bearer token or in x-api-key:

Authorization: Bearer ov_your_key
x-api-key: ov_your_key

Every call counts once toward the key's daily request limit. Errors are { "message": "…", "code": "…" }:

StatusCodeMeaning
400invalid_request, invalid_rows, invalid_idempotency_keyThe body or a recipient row failed validation, or the Idempotency-Key header is malformed.
401invalid_keyMissing, unknown, expired, or revoked key.
403team_key_requiredA personal key. Create the key on the team's API keys page.
403capability_missingThe key's access level does not include certificates.
403forbiddenThe key creator's team role cannot issue.
403issuer_blocked, batch_limit, monthly_capTrust-level limits (see Issuing).
404no_issuerThe key's team has no issuer yet. Create one in the issuer console.
404not_foundUnknown type or certificate for this issuer.
409all_duplicates, type_archived, bad_statusNothing to do, or the state does not allow the action.
409idempotency_mismatchThe Idempotency-Key was already used with a different request body.
429rate_limitedThe key's daily request limit. Retry-After is set.
503certificates_disabled, signing_unavailableIssuing is paused, or the signing key is not configured. Verification keeps working.

POST /api/certificates/issue

Issues one certificate or a batch from a type you own. Same validation and caps as the console; the batch source is recorded as api. Send an Idempotency-Key header to make the call safe to retry (below).

FieldTypeRequiredNotes
typestringYesThe credential type's slug or id.
recipientsobject[]One of recipients or recipientBatch. The size limit depends on the issuer's trust level.
recipientobjectA single recipient (same shape as a recipients item).
personal_messagestringNoA line for every email in the batch; a recipient's message overrides it.
allow_duplicatesbooleanNoIssue even to recipients who already hold a valid certificate of this type. Default false: they are skipped and counted in skipped.

Each recipient:

FieldTypeRequiredNotes
namestringYes
emailstringYesLower-cased.
handlestringNoWithout the @. Needed for handle display modes.
issued_atstringNoYYYY-MM-DD; default today.
expires_atstringNoYYYY-MM-DD, after issued_at; default from the type.
fieldsobjectPer type{ "score": "92" }; values are strings and are validated by the type's field kinds.
messagestringNoPersonal line for this recipient's email.
Issue one certificate
curl -X POST https://osintverse.com/api/certificates/issue \
  -H "Authorization: Bearer ov_your_key" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: enrolment-48213967" \
  -d '{
    "type": "osint-fundamentals-completion",
    "recipient": { "name": "Jane Doe", "email": "jane@example.com", "handle": "janedoe", "fields": { "score": "92" } },
    "personal_message": "Great work on the final exercise."
  }'
201 Created
{
  "batch_id": "6f1c…",
  "source": "api",
  "issued": 1,
  "skipped": 0,
  "certificates": [
    {
      "id": "OVC-7K3Q-M8PX-2DLA",
      "recipient_name": "Jane Doe",
      "recipient_email": "jane@example.com",
      "verify_url": "https://osintverse.com/certificates/verify/OVC-7K3Q-M8PX-2DLA",
      "json_url": "https://osintverse.com/certificates/verify/OVC-7K3Q-M8PX-2DLA.json"
    }
  ]
}

Rows that fail validation fail the whole call with 400 and code: invalid_rows; the message names the first few problems. Emails go out after the response; read each certificate's email.status later.

Idempotency

A network error after the server has issued leaves you unsure whether to retry. Send an Idempotency-Key header (1 to 128 visible ASCII characters, no spaces: your own enrolment, order, or run id) and the retry is safe:

  • The key is stored with the batch it created, scoped to the issuer and to the owner of the API key. Another team, or another member's key, can reuse the same string.
  • A repeat with the same key and the same body returns the original batch with status 200 and the header Idempotent-Replayed: true. Nothing is issued or emailed again. The body is compared after sorting keys, so whitespace and key order do not matter.
  • The same key with a different body answers 409 with code: idempotency_mismatch.
  • A malformed key answers 400 with code: invalid_idempotency_key.
  • Two calls with one key that race issue once: the second waits for the first's batch and replays it.

Keys never expire. Without the header, a retried call issues again unless the recipients already hold the certificate (the default duplicate check), so keep allow_duplicates off when you retry without a key.

GET /api/certificates/issued

Lists the issuer's certificates, newest first, with keyset paging.

QueryNotes
qMatches name, email, handle, or id.
typeType slug or id.
statusvalid, revoked, or superseded (stored statuses), or expiring (valid and past its date within the expiring window in the limits table), expired (valid with a date already passed), email_problem (valid, unclaimed, email bounced or failed), or name_request (a recipient's name correction is waiting).
cursornext_cursor from the previous page.
limitRows per page, up to the list page limit.
200 OK
{ "items": [ { "id": "OVC-…", "…": "…" } ], "next_cursor": "…" }

Add format=csv to get the same rows as a file instead of a page: q, type, and status still apply, cursor and limit are ignored. The response is text/csv; charset=utf-8 with a byte order mark, a Content-Disposition filename of certificates-{issuer slug}-{date}.csv, and the columns id, type, recipient_name, recipient_email, recipient_handle, display_mode, status (valid, expired, revoked, or superseded), issued_at, expires_at, claimed_at, email_status, and verify_url. Cells that a spreadsheet would run as a formula are prefixed with an apostrophe. The file stops at the export row cap (X-Export-Row-Limit); X-Export-Rows is the number written and X-Export-Truncated: true is set when the cap cut it, so narrow the filters for the rest.

Export the ledger
curl -s "https://osintverse.com/api/certificates/issued?format=csv&status=valid" \
  -H "Authorization: Bearer ov_your_key" -o certificates.csv

GET /api/certificates/issued/:id

One certificate with its event log (:id is the certificate id, for example OVC-7K3Q-M8PX-2DLA).

200 OK
{
  "certificate": {
    "id": "OVC-7K3Q-M8PX-2DLA",
    "type": { "id": "…", "title": "OSINT Fundamentals — Completion" },
    "batch_id": "6f1c…",
    "recipient": { "name": "Jane Doe", "email": "jane@example.com", "handle": "janedoe" },
    "display_mode": "name",
    "listed": false,
    "indexable": false,
    "fields": { "score": "92" },
    "personal_message": "Great work on the final exercise.",
    "issued_at": "2026-10-31T00:00:00.000Z",
    "expires_at": null,
    "status": "valid",
    "public_status": "valid",
    "revocation": null,
    "superseded_by": null,
    "supersedes": null,
    "claimed_at": null,
    "email": { "status": "sent", "sent_at": "2026-10-31T09:12:04.000Z", "error": null },
    "view_count": 3,
    "created_at": "2026-10-31T09:12:01.000Z",
    "urls": { "html": "…", "json": "…", "pdf": "…", "png": "…" }
  },
  "events": [ { "kind": "emailed", "at": "…", "meta": { "status": "sent" } }, { "kind": "issued", "at": "…", "meta": { "source": "api" } } ]
}

The recipient's email and the private fields (display_mode, listed, indexable, the private revocation reason) are visible to the issuer here and never on the public endpoint.

POST /api/certificates/issued/:id/revoke

Request
{ "reason": "Issued to the wrong cohort", "public": true }

Returns { "certificate": … } with status: "revoked". Only a valid certificate can be revoked; the action cannot be undone. Reissue after a typo from the console instead.

Webhooks

An issuer can register one https URL on the issuer console's Overview tab (team owners and admins). Every certificate event is then POSTed there as JSON, whichever way it happened: the console, a CSV, the REST API, an agent over MCP, a recipient claiming, or the email provider reporting a bounce. The URL must point at a public host; private addresses, localhost, and .internal names are refused when saved and again before every send.

Events

typeWhenExtra keys in data
certificate.issuedA certificate was issued, one event each, reissues included.supersedes on a reissue.
certificate.claimedThe recipient attached it to an OSINTverse account.
certificate.email_bouncedThe certificate email bounced permanently.bounce: { permanent, type, message }
certificate.email_failedThe email could not be sent.error
certificate.complainedThe recipient reported the email as spam.
certificate.revokedThe issuer or OSINTverse revoked it.revocation: { reason, public, by } (by is issuer or osintverse).
certificate.supersededA reissue replaced it.superseded_by (the new id, which gets its own issued event).
certificate.name_change_requestedThe recipient asked for a corrected name. Approve or decline in the console; an approval sends superseded and issued.name_request (id, requested_name, requested_handle, note).
webhook.testThe console's Send test event button.message; data.certificate is null.

Payload

{
  "id": "whd_2f0c…",
  "type": "certificate.claimed",
  "created_at": "2026-11-04T10:00:00.000Z",
  "issuer": { "id": "…", "slug": "example-academy", "name": "Example Academy" },
  "data": {
    "certificate": { "id": "OVC-7K3Q-M8PX-2DLA", "type": { "id": "…", "title": "…" }, "recipient": { "name": "Jane Doe", "email": "jane@example.com", "handle": "janedoe" }, "status": "valid", "public_status": "valid", "claimed_at": "2026-11-04T09:59:58.000Z", "email": { "status": "sent", "…": "…" }, "urls": { "html": "…", "json": "…", "pdf": "…", "png": "…" }, "…": "…" }
  }
}

data.certificate is the same object GET /api/certificates/issued/:id returns, so it includes the recipient's email: the webhook goes to the issuer, who already holds that data as its controller. It never includes a claim link.

Signature

Each request carries the Standard Webhooks headers, the scheme Resend and Svix use, so any Standard Webhooks library verifies it:

webhook-id: whd_2f0c…                      (stable across retries of the same event)
webhook-timestamp: 1793001600              (Unix seconds)
webhook-signature: v1,<base64 HMAC-SHA256>

The signature is HMAC-SHA256 over "{webhook-id}.{webhook-timestamp}.{raw body}" with the key being the base64 part of your whsec_ secret, decoded. Verify over the raw bytes you received, not a re-serialised object, and reject timestamps older than a few minutes:

Verify in Node
import { createHmac, timingSafeEqual } from "node:crypto"

export function verify(secret, headers, rawBody) {
  const key = Buffer.from(secret.replace(/^whsec_/, ""), "base64")
  const signed = `${headers["webhook-id"]}.${headers["webhook-timestamp"]}.${rawBody}`
  const expected = createHmac("sha256", key).update(signed).digest()
  const fresh = Math.abs(Date.now() / 1000 - Number(headers["webhook-timestamp"])) < 300
  return fresh && headers["webhook-signature"].split(" ").some((part) => {
    const [version, value] = part.split(",")
    if (version !== "v1") return false
    const given = Buffer.from(value, "base64")
    return given.length === expected.length && timingSafeEqual(given, expected)
  })
}

The secret is shown once when the webhook is created and again only when you rotate it. Changing the URL keeps the secret.

Delivery and retries

Answer with any 2xx within ten seconds and the event is delivered. A timeout, a connection error, 408, 425, 429, or a 5xx is retried: three attempts in all, with short pauses between them. Any other 4xx fails the event at once. The console lists the recent deliveries with each one's attempts, last HTTP status or error, and a Retry for failed ones, which resends the same event with the same webhook-id. Events are sent after the response to the action that caused them, so a slow receiver never slows issuing. There is no ordering guarantee between events; use created_at and the certificate's status to decide.

MCP tools

The OSINTverse MCP server has three read-only certificate tools for agents. All three need the osint:read scope, never charge, read no account data, and are available in sandbox and live mode. Two more, list_my_credential_types and issue_certificate, appear only on connections that authenticate with a team API key that has Certificates access; they are described under Issuing from an agent.

verify_credential

{ "name": "verify_credential", "arguments": { "credential_id": "OVC-7K3Q-M8PX-2DLA" } }

It returns the same JSON as the public verification endpoint: status, title, issuer and whether OSINTverse verified it, the recipient as disclosed, the signed record, the hash and signature, the keys URL, and the steps to check them. Agents are told that the issuer's and recipient's details are the issuer's statements, signed by OSINTverse at issue time, and that the signature does not vouch for the issuer unless the issuer is marked verified.

list_certificate_skills

{ "name": "list_certificate_skills", "arguments": {} }

Returns the skill directory: every skill in the OSINT taxonomy with its id, label, description, public page URL, and how many verified issuers, active credential types, issued certificates, and listed people it has. Skills nobody has tagged yet appear with zeros.

find_certificate_types

{ "name": "find_certificate_types", "arguments": { "skill": "geoint", "limit": 25 } }

Takes a skill id or label from list_certificate_skills and returns the credential types that verified issuers tag with it, most issued first: title, description, layout, skills, evidence link, issued count, and the issuer's name and directory page. It never returns people; the people who listed a certificate of that skill are only on the public skill page, under the rules on Privacy.

Issuing from an agent

An agent can issue certificates for your team when it connects to the MCP server with a team API key that has Certificates (or Full) access, created by a member whose role can issue, on a team that has an issuer: the same three checks as the REST API. OAuth connections (Claude, Cursor, ChatGPT signed in as a person) never get these tools, and neither do sandbox or demo connections; a call from one of them is answered with code: forbidden and the way in. Connect the key as described on MCP setup, for example with Claude Code's claude mcp add-json and the key in an environment variable.

issue_certificate is marked destructive, because every call sends a real email to a real person, so clients that ask before destructive tools ask before it. It shares the paid tools' burst limit (ten calls in any sixty seconds per key), so an agent cannot mass-mail; a whole cohort goes through the REST recipients batch or the console's CSV upload. The server's instructions tell the agent to confirm the type, the recipient's name and email, and any personal line with the user before calling it.

list_my_credential_types

{ "name": "list_my_credential_types", "arguments": {} }

Returns the key's issuer (name, slug, trust, whether OSINTverse verified it, whether it can issue, the monthly cap, how many certificates it issued this month, and how many are left) and its active credential types: id, slug, title, description, layout, id prefix and an example id, the per-recipient field specs (key, label, kind, required), the allowed display modes, the default validity in days, skills, and the issued and claimed counts. Free and read-only.

issue_certificate

ArgumentRequiredNotes
typeYesA type slug or id from list_my_credential_types.
nameYesThe recipient's name as it should read on the certificate.
emailYesLower-cased. The claim link goes there.
handleNoWithout the @. Needed for handle display modes.
fieldsPer type{ "score": "92" }; strings, validated by the type's field kinds.
personal_messageNoOne line for the email, never printed on the certificate.
expires_atNoYYYY-MM-DD; default from the type's validity period.
idempotency_keyNo, but recommendedYour own enrolment or run id. Same key and inputs → the first result again, nothing issued or emailed twice; same key and different inputs → idempotency_mismatch. Keys are scoped to the issuer and the key's creator, like the REST header.

The call goes through the same path as POST /api/certificates/issue: the trust-level caps, the duplicate check (a recipient who already holds a valid certificate of the type is not issued again: all_duplicates), and the email that leaves after the response. The result carries certificate_id, verify_url, json_url, batch_id, replayed, the recipient and type, and email: who it goes to, its subject, and the lines it says, so the agent can tell the person what was sent. The claim link itself is never returned. Errors are isError results with the REST codes from the table above (monthly_cap, batch_limit, issuer_blocked, invalid_rows, type_archived, not_found, all_duplicates, idempotency_mismatch, certificates_disabled, signing_unavailable) plus a hint saying what to do.

A conversation with an agent connected through a team key, abridged:

Sample conversation
User:  Issue our OSINT Fundamentals completion certificate to Jane Doe, jane@example.com. She scored 92.

Agent → list_my_credential_types {}
      ← issuer: Example Academy (verified), 1,840 certificates left this month
        types: osint-fundamentals-completion (fields: score, number, required; display modes: name, both)

Agent: I will issue "OSINT Fundamentals — Completion" from Example Academy to Jane Doe at
       jane@example.com with score 92. She gets one email with a claim link. Go ahead?

User:  Yes.

Agent → issue_certificate { "type": "osint-fundamentals-completion", "name": "Jane Doe",
                            "email": "jane@example.com", "fields": { "score": "92" },
                            "idempotency_key": "lms-enrolment-48213967" }
      ← certificate_id: OVC-7K3Q-M8PX-2DLA, replayed: false,
        verify_url: https://osintverse.com/certificates/verify/OVC-7K3Q-M8PX-2DLA,
        email: to jane@example.com, subject "Your certificate from Example Academy: OSINT Fundamentals — Completion"

Agent: Issued OVC-7K3Q-M8PX-2DLA. Jane will receive the email within a minute with a claim link and a
       link to the verification page; nothing is listed on her profile until she claims it.

Issuing from an agent is logged like any MCP call (tool name, outcome, duration; never the recipient) in the agent ledger under Dashboard → API keys, and the certificate shows in the issuer console's ledger with its email status.

On this page