Guide menu · Overview
API guide
API guide
Issue, look up and revoke documents from your own systems, and get told when things happen with webhooks.
Base address
#Every request goes to this address, followed by the path of the request. Requests and answers are JSON.
Base address
https://truesealed.com/api/v1
What you can do
#Connect your student records, HR system or course platform, so documents are issued the moment someone earns them, and your records stay in step with what verifiers see.
At a glance
#- Keys. An organization admin creates them under API and webhooks. A key acts as the admin who made it. More about keys.
- Documents. Issue from a template, list and search, fetch one with a download link, and revoke. See every request.
- Safe retries. Send an
Idempotency-Keywhen issuing, and a retry never issues twice. - Webhooks. Signed POST requests when documents are issued, revoked or checked, retried for about a day. Set them up.
- Limits. 120 requests a minute for each key.
- OpenAPI. Download the description for Postman, Insomnia or a code generator.
List your newest documents
curl 'https://truesealed.com/api/v1/documents?per_page=10' \
-H "Authorization: Bearer $SEALCHECK_API_KEY" \
-H 'Accept: application/json'
<?php
require 'vendor/autoload.php'; // composer require guzzlehttp/guzzle
$client = new GuzzleHttp\Client([
'base_uri' => 'https://truesealed.com/api/v1/',
'headers' => [
'Authorization' => 'Bearer '.getenv('SEALCHECK_API_KEY'),
'Accept' => 'application/json',
],
]);
$response = $client->get('documents', [
'query' => [
'per_page' => '10',
],
]);
$result = json_decode((string) $response->getBody(), true);
// Node.js 18 or later
const response = await fetch('https://truesealed.com/api/v1/documents?per_page=10', {
headers: {
Authorization: `Bearer ${process.env.SEALCHECK_API_KEY}`,
Accept: 'application/json',
},
});
const result = await response.json();
import os
import requests # pip install requests
response = requests.get(
"https://truesealed.com/api/v1/documents",
headers={
"Authorization": f"Bearer {os.environ['SEALCHECK_API_KEY']}",
"Accept": "application/json",
},
params={
"per_page": "10",
},
)
result = response.json()