Documentation › Public pages and API

Client verification and the OSPP Certification badge

Show the "OSPP Certification" badge on your website and link it to a page at OSPP that confirms you are a client. What the page shows, how a website is proven, and what the badge does not say.

An organisation that uses OSPP can show the "OSPP Certification" badge on its website. The badge links to a page at OSPP that confirms the organisation is a client. The page is off until an owner switches it on.

What a visitor sees#

The page is at https://www.ospp.it.com/c/<your page address>. It shows:

On the pageWhere it comes from
The nameThe name you chose to show
The websites the page coversOnly websites you have proven you control, each with the date of the proof
Client sinceThe month your organisation was created at OSPP
Runs onOSPP Cloud, or your own gateway connected to OSPP
Passports issuedWhether a passport was issued in the last 24 hours, 7 days or 30 days, or none in the last 30 days

A visitor who follows the badge from one of your proven websites is told that the website is covered. A visitor who arrives from any other website is told that it is not covered, so a badge copied onto someone else's site does not pass. The page compares the website the visitor came from with your list; www.example.com and example.com count as the same website.

The page never shows a count of calls or passports, a node, a model, a price, a key, a prompt or an answer. It carries noindex.

Set it up#

On OSPP Cloud: Settings > Public verification in the Platform. Self-hosted: Settings > Public verification in the admin UI. It is the same page in both; on a self-hosted installation the settings are kept at OSPP, because OSPP serves the public page.

  1. Add a website. Enter the host name the badge will be shown on, such as www.example.com.
  2. Prove it is yours. Place a text file at https://www.example.com/.well-known/ospp-verification.txt containing the line the page gives you (ospp-verification=<token>), then choose "Check now". OSPP reads the file over https from that exact host name and does not follow a redirect. Some web servers refuse every address that starts with a dot; allow this one file if yours does.
  3. Choose the name and the page address. The address is 3 to 40 characters: a-z, 0-9 and hyphens.
  4. Switch the page on. This needs a name, a page address and at least one proven website.
  5. Paste the badge. The page gives you the HTML: the badge image linked to your page.
<a href="https://www.ospp.it.com/c/example" target="_blank" rel="noopener"><img src="https://www.ospp.it.com/media/badges/ospp-certification-232.png" alt="OSPP Certification" width="116" height="25"></a>

Download the badge#

The badge is shown 116 pixels wide. Use the file from OSPP as in the code above, or download it and serve it from your own website:

FileSizeFor
ospp-certification-116.png116 × 25 pxThe standard size
ospp-certification-232.png232 × 49 pxThe same size on high-density screens (shown at 116 px)
ospp-certification.png840 × 179 pxPrint and larger placements

Do not change the badge's proportions, colours or text, and always link it to your verification page.

Only an owner (an admin on a self-hosted installation) can change these settings. Up to 10 websites can be listed.

Keeping it valid#

Leave the proof file in place. "Check again" reads it again; a check that no longer finds the expected line withdraws that website. When the last proven website is withdrawn or removed, or the name is cleared, the page switches itself off. A website that is removed and added again gets a new token and must be proven again.

While the page is off, or the organisation is disabled, the address answers "No verification page at this address" and tells the visitor that the badge is not confirmed.

What the badge says, and what it does not#

The badge and the page say that the organisation is a client of OSPP and whether passports were issued for it recently. They do not say that every AI call the organisation makes goes through OSPP, and they do not judge the quality or correctness of its AI: a passport proves that a call was recorded, not that the answer is right. See What a passport proves.

For developers#

CallWhat it does
GET /v1/verificationYour settings, the proof file for each website, the page address and the badge HTML
PUT /v1/verificationChange enabled, slug, display_name or domains (a list of host names); a part you leave out is kept
POST /v1/verification/domains/check{"domain": "www.example.com"}: read the proof file now
GET /api/v1/public/clients/<page address>The public facts as JSON, without a key: name, client_since, hosting, websites, passports

The first three take the organisation's API key. The public answer is cached for up to a minute.